misc: declare w.c.s. dependencies in setup.py (#70163)
This commit is contained in:
parent
386b93b12d
commit
8740de66f1
14
setup.py
14
setup.py
|
@ -169,6 +169,9 @@ setup(
|
|||
maintainer_email="fpeters@entrouvert.com",
|
||||
url="http://wcs.labs.libre-entreprise.org",
|
||||
install_requires=[
|
||||
'Quixote>=3.0,<3.2',
|
||||
'django>=2.2',
|
||||
'psycopg2',
|
||||
'bleach<5',
|
||||
'dnspython',
|
||||
'gadjo>=0.53',
|
||||
|
@ -181,6 +184,17 @@ setup(
|
|||
'pyquery',
|
||||
'unidecode',
|
||||
'lxml',
|
||||
'vobject',
|
||||
'qrcode',
|
||||
'Pillow',
|
||||
'gadjo',
|
||||
'docutils',
|
||||
'django-ckeditor@git+https://git.entrouvert.org/debian/django-ckeditor.git',
|
||||
'XStatic-godo@git+https://git.entrouvert.org/godo.js.git',
|
||||
'langdetect',
|
||||
'python-magic',
|
||||
'workalendar',
|
||||
'requests',
|
||||
],
|
||||
package_dir={'wcs': 'wcs'},
|
||||
packages=find_packages(),
|
||||
|
|
19
tox.ini
19
tox.ini
|
@ -18,6 +18,7 @@ setenv =
|
|||
passenv =
|
||||
USER
|
||||
deps =
|
||||
# test dependencies
|
||||
pytest>=3.6
|
||||
pytest-mock
|
||||
pytest-cov
|
||||
|
@ -26,29 +27,15 @@ deps =
|
|||
pytest-freezegun
|
||||
WebTest
|
||||
mechanize
|
||||
gadjo
|
||||
pyquery
|
||||
mock
|
||||
requests
|
||||
responses
|
||||
vobject
|
||||
qrcode
|
||||
Pillow
|
||||
workalendar
|
||||
python-magic
|
||||
docutils
|
||||
langdetect
|
||||
git+https://git.entrouvert.org/debian/django-ckeditor.git
|
||||
git+https://git.entrouvert.org/godo.js.git
|
||||
django22: django>=2.2,<2.3
|
||||
django-ratelimit<3
|
||||
pyproj
|
||||
astroid!=2.5.7
|
||||
pylint
|
||||
Quixote>=3.0,<3.2
|
||||
pre-commit
|
||||
pyzbar
|
||||
bleach
|
||||
# others...
|
||||
django22: django>=2.2,<2.3
|
||||
commands =
|
||||
py.test {posargs:-v {env:COVERAGE:} --numprocesses={env:NUMPROCESSES:1} --dist loadfile --junitxml=junit-{envname}.xml tests/}
|
||||
codestyle: pre-commit run --all-files --show-diff-on-failure
|
||||
|
|
Loading…
Reference in New Issue