diff --git a/README.rst b/README.rst index a2f182a..645b59b 100644 --- a/README.rst +++ b/README.rst @@ -62,6 +62,8 @@ For more info, see the `documentation `_. Installation ------------ +`fuzzysearch` supports Python versions 2.7 and 3.5+. + .. code:: $ pip install fuzzysearch diff --git a/appveyor.yml b/appveyor.yml index 564e38f..591f17f 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -10,13 +10,6 @@ environment: - PYTHON: 'C:\Python27-x64' TOX_ENV: 'py27' PYTHON_APPDATA_DIR: 'C:\Users\appveyor\AppData\Roaming\Python' - - PYTHON: 'C:\Python34' - TOX_ENV: 'py34' - PYTHON_APPDATA_DIR: 'C:\Users\appveyor\AppData\Roaming\Python' -# - PYTHON: 'C:\Python34-x64' -# TOX_ENV: 'py34' -# DISTUTILS_USE_SDK: '1' -# PYTHON_APPDATA_DIR: 'C:\Users\appveyor\AppData\Roaming\Python' - PYTHON: 'C:\Python35' TOX_ENV: 'py35' PYTHON_APPDATA_DIR: 'C:\Users\appveyor\AppData\Roaming\Python\Python35' diff --git a/setup.py b/setup.py index de3f6d4..9b25c83 100644 --- a/setup.py +++ b/setup.py @@ -131,7 +131,6 @@ def run_setup(with_binary=True): 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', diff --git a/tox.ini b/tox.ini index ea8e426..3b381b6 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py{27,34,35,36,37,38}-{with,without}_coverage-{,appveyor} +envlist = py{27,35,36,37,38}-{with,without}_coverage-{,appveyor} [testenv] install_command = @@ -12,18 +12,10 @@ install_command = ; CPPFLAGS=-Qunused-arguments deps = ; use specific versions of testing tools with which this is known to work - py{34}-with_coverage: coverage<5 - py{27,35,36,37,38}-with_coverage: coverage>=5,<6 + with_coverage: coverage>=5,<6 py{27}: unittest2==1.1.0 py{27}: mock==1.3.0 py{27}: biopython<=1.76 - py{34}: setuptools<44 - py{34}: pip<19.2 - ; biopython 1.74 has numpy as a dependency, but the version must be - ; limited to work on Python 3.4. (i.e `pip install numpy` no longer works - ; on Python 3.4!) - py{34}: numpy<1.16 - py{34}: biopython<=1.74 py{35}: biopython<=1.76 py{36,37,38}: biopython whitelist_externals = @@ -36,19 +28,18 @@ commands = ; (but when running with coverage, coverage run -m unittest2 works) py{27}-without_coverage: {envbindir}/unit2 discover tests -t {toxinidir} py{27}-with_coverage: {envbindir}/coverage run --source=fuzzysearch -m unittest2 discover tests - py{34,35,36,37,38}-without_coverage: {envpython} -m unittest discover tests - py{34,35,36,37,38}-with_coverage: {envbindir}/coverage run --source=fuzzysearch -m unittest discover tests + py{35,36,37,38}-without_coverage: {envpython} -m unittest discover tests + py{35,36,37,38}-with_coverage: {envbindir}/coverage run --source=fuzzysearch -m unittest discover tests with_coverage: mv .coverage .coverage.with_extensions {envpython} -c 'import os; [os.remove(os.path.join(d, fn)) for (d, dns, fns) in os.walk(os.path.join(r"{envsitepackagesdir}", "fuzzysearch")) for fn in fns if fn.endswith((".so", ".pyd"))]' py{27}-without_coverage: {envbindir}/unit2 discover tests -t {toxinidir} py{27}-with_coverage: {envbindir}/coverage run --source=fuzzysearch -m unittest2 discover tests - py{34,35,36,37,38}-without_coverage: {envpython} -m unittest discover tests - py{34,35,36,37,38}-with_coverage: {envbindir}/coverage run --source=fuzzysearch -m unittest discover tests + py{35,36,37,38}-without_coverage: {envpython} -m unittest discover tests + py{35,36,37,38}-with_coverage: {envbindir}/coverage run --source=fuzzysearch -m unittest discover tests with_coverage: mv .coverage .coverage.no_extensions with_coverage: {envbindir}/coverage combine basepython = py27: python2.7 - py34: python3.4 py35: python3.5 py36: python3.6 py37: python3.7