mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
Update setup.py, tox.ini to python3 only
This commit is contained in:
parent
3ced2abcb7
commit
d3c7d12457
2 changed files with 6 additions and 6 deletions
2
setup.py
2
setup.py
|
@ -52,7 +52,7 @@ setup(name='Moulinette',
|
||||||
license='AGPL',
|
license='AGPL',
|
||||||
packages=find_packages(exclude=['test']),
|
packages=find_packages(exclude=['test']),
|
||||||
data_files=[(LOCALES_DIR, locale_files)],
|
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,
|
install_requires=install_deps,
|
||||||
tests_require=test_deps,
|
tests_require=test_deps,
|
||||||
extras_require=extras,
|
extras_require=extras,
|
||||||
|
|
10
tox.ini
10
tox.ini
|
@ -1,6 +1,6 @@
|
||||||
[tox]
|
[tox]
|
||||||
envlist =
|
envlist =
|
||||||
py{27,3}-{pytest,lint}
|
py37-{pytest,lint}
|
||||||
format
|
format
|
||||||
format-check
|
format-check
|
||||||
docs
|
docs
|
||||||
|
@ -11,11 +11,11 @@ usedevelop = True
|
||||||
passenv = *
|
passenv = *
|
||||||
extras = tests
|
extras = tests
|
||||||
deps =
|
deps =
|
||||||
py{27,3}-pytest: .[tests]
|
py37-pytest: .[tests]
|
||||||
py{27,3}-lint: flake8
|
py37-lint: flake8
|
||||||
commands =
|
commands =
|
||||||
py{27,3}-pytest: pytest {posargs} -c pytest.ini
|
py37-pytest: pytest {posargs} -c pytest.ini
|
||||||
py{27,3}-lint: flake8 moulinette test
|
py37-lint: flake8 moulinette test
|
||||||
|
|
||||||
[testenv:format]
|
[testenv:format]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
|
|
Loading…
Add table
Reference in a new issue