setup.py: use latest django-rest-framework
This commit is contained in:
parent
c676890178
commit
2ff4ba0720
4
setup.py
4
setup.py
|
@ -10,7 +10,6 @@ from setuptools import setup, find_packages
|
||||||
from setuptools.command.sdist import sdist
|
from setuptools.command.sdist import sdist
|
||||||
from setuptools.command.install_lib import install_lib as _install_lib
|
from setuptools.command.install_lib import install_lib as _install_lib
|
||||||
|
|
||||||
|
|
||||||
class eo_sdist(sdist):
|
class eo_sdist(sdist):
|
||||||
def run(self):
|
def run(self):
|
||||||
if os.path.exists('VERSION'):
|
if os.path.exists('VERSION'):
|
||||||
|
@ -92,7 +91,8 @@ setup(name="bijoe",
|
||||||
include_package_data=True,
|
include_package_data=True,
|
||||||
install_requires=['requests', 'django>=1.11, <2.3', 'psycopg2', 'isodate', 'Django-Select2<6',
|
install_requires=['requests', 'django>=1.11, <2.3', 'psycopg2', 'isodate', 'Django-Select2<6',
|
||||||
'XStatic-ChartNew.js', 'gadjo', 'django-jsonfield<1.3',
|
'XStatic-ChartNew.js', 'gadjo', 'django-jsonfield<1.3',
|
||||||
'python-dateutil', 'djangorestframework<3.8',
|
'python-dateutil',
|
||||||
|
'djangorestframework',
|
||||||
'xstatic-select2'],
|
'xstatic-select2'],
|
||||||
scripts=['manage.py'],
|
scripts=['manage.py'],
|
||||||
cmdclass={
|
cmdclass={
|
||||||
|
|
2
tox.ini
2
tox.ini
|
@ -26,7 +26,7 @@ deps =
|
||||||
mock
|
mock
|
||||||
pyquery
|
pyquery
|
||||||
tabulate
|
tabulate
|
||||||
dj22: djangorestframework>=3.7,<3.8
|
dj22: djangorestframework>=3.7
|
||||||
http://git.entrouvert.org/hobo.git/snapshot/hobo-master.tar.gz
|
http://git.entrouvert.org/hobo.git/snapshot/hobo-master.tar.gz
|
||||||
commands =
|
commands =
|
||||||
py.test {posargs: --junitxml=test_{envname}_results.xml --cov-report xml --cov-report html --cov=bijoe tests/}
|
py.test {posargs: --junitxml=test_{envname}_results.xml --cov-report xml --cov-report html --cov=bijoe tests/}
|
||||||
|
|
Loading…
Reference in New Issue