From: Oleg Broytman Date: Mon, 11 Dec 2017 14:47:16 +0000 (+0300) Subject: Build(setup.py): Use python_requires keyword X-Git-Tag: 2.9.0~8 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=7db456abb851878ea93938435e38ec124b43d39b;p=mimedecode.git Build(setup.py): Use python_requires keyword CI: Upgrade pip and setuptools --- 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",