mirror of
https://github.com/Tivix/django-rest-auth.git
synced 2024-11-22 17:16:34 +03:00
move django-allauth and responses from setup.py to test_requirements.pip
This commit is contained in:
parent
989f3fa7af
commit
4c9abe8043
|
@ -17,3 +17,4 @@ script:
|
||||||
- coverage run --source=rest_auth setup.py test
|
- coverage run --source=rest_auth setup.py test
|
||||||
after_success:
|
after_success:
|
||||||
- coveralls
|
- coveralls
|
||||||
|
install: "pip install -r test_requirements.pip"
|
||||||
|
|
4
setup.py
4
setup.py
|
@ -11,7 +11,7 @@ except ImportError:
|
||||||
import os
|
import os
|
||||||
|
|
||||||
here = os.path.dirname(os.path.abspath(__file__))
|
here = os.path.dirname(os.path.abspath(__file__))
|
||||||
f = open(os.path.join(here, 'README.md'))
|
f = open(os.path.join(here, 'README.md'))
|
||||||
long_description = f.read().strip()
|
long_description = f.read().strip()
|
||||||
f.close()
|
f.close()
|
||||||
|
|
||||||
|
@ -29,9 +29,7 @@ setup(
|
||||||
zip_safe=False,
|
zip_safe=False,
|
||||||
install_requires=[
|
install_requires=[
|
||||||
'Django>=1.5.0',
|
'Django>=1.5.0',
|
||||||
'django-allauth>=0.18.0',
|
|
||||||
'djangorestframework>=2.3.13',
|
'djangorestframework>=2.3.13',
|
||||||
'responses>=0.2.2'
|
|
||||||
],
|
],
|
||||||
test_suite='rest_auth.runtests.runtests',
|
test_suite='rest_auth.runtests.runtests',
|
||||||
include_package_data=True,
|
include_package_data=True,
|
||||||
|
|
2
test_requirements.pip
Normal file
2
test_requirements.pip
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
django-allauth>=0.18.0
|
||||||
|
responses>=0.2.2
|
Loading…
Reference in New Issue
Block a user