]> git.phdru.name Git - mimedecode.git/commitdiff
Build(setup.py): Use python_requires keyword
authorOleg Broytman <phd@phdru.name>
Mon, 11 Dec 2017 14:47:16 +0000 (17:47 +0300)
committerOleg Broytman <phd@phdru.name>
Mon, 11 Dec 2017 14:47:16 +0000 (17:47 +0300)
CI: Upgrade pip and setuptools

.travis.yml
setup.py

index 40e3e71fcd5fc892dc4a1dc087b3bd41c93321fb..51c28ccde1c6817419be72b61857d3a53daca6a3 100644 (file)
@@ -32,7 +32,7 @@ matrix:
     env: TOXENV=pypy
 
 install:
-  - travis_retry pip install tox
+  - travis_retry pip install --upgrade pip setuptools tox
 
 script:
   - tox
index fee0f9c853bb7244171347d0e400c306ffda09a8..fcfb53e357dd0a1bf7c4b80123c1ed1f80d925d4 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -13,6 +13,8 @@ kw = {}
 if is_setuptools:
     kw['install_requires'] = ['m_lib.defenc>=1.0']
     kw['tests_require'] = ['m_lib>=3.1']
+    kw['python_requires'] = '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*'
+
 
 setup(
     name="mimedecode",