Skip to content

Instantly share code, notes, and snippets.

@captivus
Created February 27, 2021 19:23
Show Gist options
  • Save captivus/18961b94d65529a2fb46bb83e5ae9cfd to your computer and use it in GitHub Desktop.
Save captivus/18961b94d65529a2fb46bb83e5ae9cfd to your computer and use it in GitHub Desktop.
Final, pull request-ready meta.yaml recipe for the spotipy package
{% set name = "spotipy" %}
{% set version = "2.16.1" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/spotipy-{{ version }}.tar.gz
sha256: 4564a6b05959deb82acc96a3fe6883db1ad9f8c73b7ff3b9f1f44db43feba0b8
build:
number: 0
noarch: python
script: {{ PYTHON }} -m pip install . -vv
requirements:
host:
- pip
- python >=3.6
run:
- python >=3.6
- requests >=2.20.0
- six >=1.10.0
test:
imports:
- spotipy
commands:
- pip check
requires:
- pip
about:
home: https://spotipy.readthedocs.org/
license: MIT
license_family: MIT
license_file: LICENSE.md
summary: 'A light weight Python library for the Spotify Web API'
doc_url: https://spotipy.readthedocs.io/en/2.16.1/
dev_url: https://github.com/plamere/spotipy
extra:
recipe-maintainers:
- captivus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment