Update setup.py, tox.ini to python3 only

This commit is contained in:
Alexandre Aubin 2020-12-31 19:42:12 +01:00
parent 3ced2abcb7
commit d3c7d12457
2 changed files with 6 additions and 6 deletions

View file

@ -52,7 +52,7 @@ setup(name='Moulinette',
license='AGPL',
packages=find_packages(exclude=['test']),
data_files=[(LOCALES_DIR, locale_files)],
python_requires='>=2.7.*, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <4',
python_requires='>=3.7.*, <3.8',
install_requires=install_deps,
tests_require=test_deps,
extras_require=extras,

10
tox.ini
View file

@ -1,6 +1,6 @@
[tox]
envlist =
py{27,3}-{pytest,lint}
py37-{pytest,lint}
format
format-check
docs
@ -11,11 +11,11 @@ usedevelop = True
passenv = *
extras = tests
deps =
py{27,3}-pytest: .[tests]
py{27,3}-lint: flake8
py37-pytest: .[tests]
py37-lint: flake8
commands =
py{27,3}-pytest: pytest {posargs} -c pytest.ini
py{27,3}-lint: flake8 moulinette test
py37-pytest: pytest {posargs} -c pytest.ini
py37-lint: flake8 moulinette test
[testenv:format]
basepython = python3