From a750114367184a14ecb69121f915ddf643273eb5 Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Thu, 12 Apr 2018 03:30:12 -0700 Subject: [PATCH] Pass python_requires argument to setuptools Helps pip decide what version of the library to install. https://packaging.python.org/tutorials/distributing-packages/#python-requires > If your project only runs on certain Python versions, setting the > python_requires argument to the appropriate PEP 440 version specifier > string will prevent pip from installing the project on other Python > versions. https://setuptools.readthedocs.io/en/latest/setuptools.html#new-and-changed-setup-keywords > python_requires > > A string corresponding to a version specifier (as defined in PEP 440) > for the Python version, used to specify the Requires-Python defined in > PEP 345. --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index 9fe89fd..f9a7832 100755 --- a/setup.py +++ b/setup.py @@ -65,6 +65,7 @@ def get_package_data(package): install_requires=[ 'jinja2' ], + python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*", classifiers=[ 'Development Status :: 3 - Alpha', 'Environment :: Web Environment', pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy