mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-06-19 09:13: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
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install -r requirements.txt
|
pip install .[test]
|
||||||
- name: Lint with flake8
|
- name: Lint with flake8
|
||||||
run: |
|
run: |
|
||||||
pip install -Iv enum34==1.1.6 # https://bitbucket.org/stoneleaf/enum34/issues/27/enum34-118-broken
|
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:
|
with open("README.md", "r") as f:
|
||||||
long_description = f.read()
|
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(
|
setup(
|
||||||
name='spotipy',
|
name='spotipy',
|
||||||
version='2.10.0',
|
version='2.10.0',
|
||||||
@ -16,5 +29,7 @@ setup(
|
|||||||
'requests>=2.20.0',
|
'requests>=2.20.0',
|
||||||
'six>=1.10.0',
|
'six>=1.10.0',
|
||||||
],
|
],
|
||||||
|
tests_require=test_reqs,
|
||||||
|
extras_require=extra_reqs,
|
||||||
license='LICENSE.md',
|
license='LICENSE.md',
|
||||||
packages=['spotipy'])
|
packages=['spotipy'])
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user