From 053f956774db480eafd8a0682d9b12156151b5d1 Mon Sep 17 00:00:00 2001 From: aubustou Date: Wed, 21 Oct 2020 00:39:43 +0200 Subject: [PATCH] Remove tox --- .travis.yml | 2 +- requirements.txt | 4 +--- setup.py | 3 ++- tox.ini | 13 ------------- 4 files changed, 4 insertions(+), 18 deletions(-) delete mode 100644 tox.ini diff --git a/.travis.yml b/.travis.yml index 5ab820d..9661ffa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,7 +21,7 @@ install: - pip install . script: - export PATH=$PATH:$PWD/tf_bin - - tox + - pytest -v branches: only: - master diff --git a/requirements.txt b/requirements.txt index 85323d6..398f64e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1 @@ -pytest -tox -tox-pyenv +/bin/bash: q : commande introuvable diff --git a/setup.py b/setup.py index f9c7cb9..8629fee 100644 --- a/setup.py +++ b/setup.py @@ -32,6 +32,8 @@ setup( package_data={}, platforms="any", install_requires=dependencies, + tests_require=["pytest"], + python_requires=">=3.6", classifiers=[ # As from http://pypi.python.org/pypi?%3Aaction=list_classifiers # 'Development Status :: 1 - Planning', @@ -49,7 +51,6 @@ setup( "Operating System :: Unix", # 'Operating System :: Windows', "Programming Language :: Python", - "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Software Development :: Libraries :: Python Modules", ], diff --git a/tox.ini b/tox.ini deleted file mode 100644 index a3ecede..0000000 --- a/tox.ini +++ /dev/null @@ -1,13 +0,0 @@ -# content of: tox.ini , put in same dir as setup.py -[tox] -envlist = py36, py37, py38, py39 -[testenv] -deps=pytest -commands=py.test test - -[travis] -python = - 3.6: py36 - 3.7: py37 - 3.8: py38 - 3.9: py39