Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,16 @@ def run(self):


INSTALL_REQUIRES = [
'aiohttp>=3.9.1',
'aiohttp>=3.14.3',
'lxml>=4.9.2',
'langcodes>=3.3.0',
'langcodes>=3.5.1',
'langdetect>=1.0.9',
'picles.plumber>=0.11',
'Pillow',
'requests>=2.32.0',
'Pillow>=12.3.0',
'requests>=2.34.2',
'openpyxl>=3.1.5',
'python-docx>=1.1.2',
'tenacity>=8.2.3',
'python-docx>=1.2.0',
'tenacity>=8.5.0',
]


Expand All @@ -75,7 +75,7 @@ def run(self):
'Flask-Testing>=0.6.2',
'flask-babel',
'Flask-WTF>=1.2.0',
'python-magic',
'python-magic>=0.4.27',
'charset-normalizer<3.0',
]

Expand Down
10 changes: 7 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,18 @@ deps =
Flask-Testing
flask-babel
python-magic
charset-normalizer<3.0
charset-normalizer
aiohttp
tenacity
requests
scielo_scholarly_data @ git+https://github.com/scieloorg/scielo_scholarly_data#egg=scielo_scholarly_data
scielo_scholarly_data @ git+https://github.com/scieloorg/scielo_scholarly_data@v0.1.4#egg=scielo_scholarly_data
commands_pre=pip install -e .[webapp]
; commands=python setup.py test -qv This works but will br deprecated on future release.
commands=python -m unittest -vvv
; discover -s tests -t . evita que o unittest tente importar
; packtools/sps/sps_versions/sps-1.9 e sps-1.10 como modulos de teste
; (o hifen no nome quebra o import, gerando ERROR espurio na descoberta
; ampla que "python -m unittest -vvv" faz a partir da raiz do projeto).
commands=python -m unittest discover -s tests -t . -vvv

[console_scripts]
stylechecker=packtools.stylechecker:main
Expand Down