From 7db456abb851878ea93938435e38ec124b43d39b Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Mon, 11 Dec 2017 17:47:16 +0300 Subject: [PATCH] Build(setup.py): Use python_requires keyword CI: Upgrade pip and setuptools --- .travis.yml | 2 +- setup.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 40e3e71..51c28cc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -32,7 +32,7 @@ matrix: env: TOXENV=pypy install: - - travis_retry pip install tox + - travis_retry pip install --upgrade pip setuptools tox script: - tox diff --git a/setup.py b/setup.py index fee0f9c..fcfb53e 100755 --- 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", -- 2.39.2