Projet

Général

Profil

0001-misc-declare-w.c.s.-dependencies-in-setup.py-70163.patch

Benjamin Dauvergne, 12 octobre 2022 15:04

Télécharger (2,2 ko)

Voir les différences:

Subject: [PATCH 1/2] misc: declare w.c.s. dependencies in setup.py (#70163)

 setup.py | 14 ++++++++++++++
 tox.ini  | 19 +++----------------
 2 files changed, 17 insertions(+), 16 deletions(-)
setup.py
169 169
    maintainer_email="fpeters@entrouvert.com",
170 170
    url="http://wcs.labs.libre-entreprise.org",
171 171
    install_requires=[
172
        'Quixote>=3.0,<3.2',
173
        'django>=2.2',
174
        'psycopg2',
172 175
        'bleach<5',
173 176
        'dnspython',
174 177
        'gadjo>=0.53',
......
181 184
        'pyquery',
182 185
        'unidecode',
183 186
        'lxml',
187
        'vobject',
188
        'qrcode',
189
        'Pillow',
190
        'gadjo',
191
        'docutils',
192
        'django-ckeditor@git+https://git.entrouvert.org/debian/django-ckeditor.git',
193
        'XStatic-godo@git+https://git.entrouvert.org/godo.js.git',
194
        'langdetect',
195
        'python-magic',
196
        'workalendar',
197
        'requests',
184 198
    ],
185 199
    package_dir={'wcs': 'wcs'},
186 200
    packages=find_packages(),
tox.ini
18 18
passenv =
19 19
    USER
20 20
deps =
21
# test dependencies
21 22
    pytest>=3.6
22 23
    pytest-mock
23 24
    pytest-cov
......
26 27
    pytest-freezegun
27 28
    WebTest
28 29
    mechanize
29
    gadjo
30 30
    pyquery
31 31
    mock
32
    requests
33 32
    responses
34
    vobject
35
    qrcode
36
    Pillow
37
    workalendar
38
    python-magic
39
    docutils
40
    langdetect
41
    git+https://git.entrouvert.org/debian/django-ckeditor.git
42
    git+https://git.entrouvert.org/godo.js.git
43
    django22: django>=2.2,<2.3
44
    django-ratelimit<3
45
    pyproj
46 33
    astroid!=2.5.7
47 34
    pylint
48
    Quixote>=3.0,<3.2
49 35
    pre-commit
50 36
    pyzbar
51
    bleach
37
# others...
38
    django22: django>=2.2,<2.3
52 39
commands =
53 40
    py.test {posargs:-v {env:COVERAGE:} --numprocesses={env:NUMPROCESSES:1} --dist loadfile --junitxml=junit-{envname}.xml tests/}
54 41
    codestyle: pre-commit run --all-files --show-diff-on-failure
55
-