summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Hupp <adam@hupp.org>2020-01-13 10:30:43 -0800
committerGitHub <noreply@github.com>2020-01-13 10:30:43 -0800
commit4e415a1c1cc5a874e213d1ea02d3050f7d57b8fe (patch)
tree87bc3be7d1de8821fd652e0bd5911e9b72dd880a
parent5f00a4e0045f940dd3857afda3949b8fb271087c (diff)
parent6a20b8bdd59200bd9a6a8508fe0c5d4765bd8c99 (diff)
downloadpython-magic-4e415a1c1cc5a874e213d1ea02d3050f7d57b8fe.tar.gz
Merge pull request #202 from hugovk/add-3.5
Retain support for Python 3.5
-rw-r--r--.travis.yml3
-rw-r--r--setup.py3
-rw-r--r--tox.ini1
3 files changed, 5 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 00f123d..4416453 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,13 +4,14 @@ cache: pip
python:
- "2.7"
+ - "3.5"
- "3.6"
- "3.7"
- "3.8"
install:
- pip install coverage
- - python setup.py install
+ - pip install .
script:
- coverage run setup.py test
diff --git a/setup.py b/setup.py
index eabeb0e..86c3e73 100644
--- a/setup.py
+++ b/setup.py
@@ -24,7 +24,7 @@ setup(name='python-magic',
keywords="mime magic file",
license="MIT",
test_suite='test',
- python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*',
+ python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*',
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
@@ -32,6 +32,7 @@ setup(name='python-magic',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
+ 'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
diff --git a/tox.ini b/tox.ini
index b45e21d..d3be02f 100644
--- a/tox.ini
+++ b/tox.ini
@@ -2,6 +2,7 @@
envlist =
coverage-clean,
py27,
+ py35,
py36,
py37,
py38,