diff --git a/setup.py b/setup.py index cea845fa..e77ecc26 100755 --- a/setup.py +++ b/setup.py @@ -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, diff --git a/tox.ini b/tox.ini index 040a504b..5531c72e 100644 --- a/tox.ini +++ b/tox.ini @@ -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