celery / vine

Python promises
Other
124 stars 43 forks source link

Pass python_requires argument to setuptools #22

Closed jdufresne closed 6 years ago

jdufresne commented 6 years ago

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.

codecov[bot] commented 6 years ago

Codecov Report

Merging #22 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #22   +/-   ##
=======================================
  Coverage   90.67%   90.67%           
=======================================
  Files           6        6           
  Lines         268      268           
  Branches       43       43           
=======================================
  Hits          243      243           
  Misses         21       21           
  Partials        4        4

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update c44e466...a7dbb66. Read the comment docs.

thedrow commented 6 years ago

Thanks for the contribution!