mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-06-19 01:03:53 +00:00
Moved dependencies to setup.py extras (#462)
This commit is contained in:
parent
b01adba826
commit
b6d35d4926
2
.github/workflows/pythonapp.yml
vendored
2
.github/workflows/pythonapp.yml
vendored
@ -19,7 +19,7 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install -r requirements.txt
|
||||
pip install .[test]
|
||||
- name: Lint with flake8
|
||||
run: |
|
||||
pip install -Iv enum34==1.1.6 # https://bitbucket.org/stoneleaf/enum34/issues/27/enum34-118-broken
|
||||
|
||||
@ -1,3 +0,0 @@
|
||||
mock==2.0.0
|
||||
requests==2.20.0
|
||||
six==1.10.0
|
||||
15
setup.py
15
setup.py
@ -3,6 +3,19 @@ from setuptools import setup
|
||||
with open("README.md", "r") as f:
|
||||
long_description = f.read()
|
||||
|
||||
test_reqs = [
|
||||
'mock==2.0.0'
|
||||
]
|
||||
|
||||
doc_reqs = [
|
||||
'Sphinx>=1.5.2'
|
||||
]
|
||||
|
||||
extra_reqs = {
|
||||
'doc': doc_reqs,
|
||||
'test': test_reqs
|
||||
}
|
||||
|
||||
setup(
|
||||
name='spotipy',
|
||||
version='2.10.0',
|
||||
@ -16,5 +29,7 @@ setup(
|
||||
'requests>=2.20.0',
|
||||
'six>=1.10.0',
|
||||
],
|
||||
tests_require=test_reqs,
|
||||
extras_require=extra_reqs,
|
||||
license='LICENSE.md',
|
||||
packages=['spotipy'])
|
||||
|
||||
Loading…
Reference in New Issue
Block a user