diff options
author | Ralf Gommers <ralf.gommers@gmail.com> | 2019-09-07 22:01:41 -0700 |
---|---|---|
committer | Ralf Gommers <ralf.gommers@gmail.com> | 2019-09-08 01:04:36 -0700 |
commit | d630d96598f1b7ea044d60bea8cd2b87778f072a (patch) | |
tree | b394a036b356fa6ace12ce40c0bd6dbe94417676 /pyproject.toml | |
parent | c280ab6279c1e7c4298bfe559887799825ef87dc (diff) | |
download | numpy-d630d96598f1b7ea044d60bea8cd2b87778f072a.tar.gz |
BLD: remove generated Cython files from sdist
Rationale: it has happened multiple times in the recent past that users
needed to use a more recent Cython than was used to generate the sdist
of the most recent release available on PyPI (e.g. for building with
a not-yet-released version of Python for which a Cython fix just
landed). The dependency specification and packaging tools have matured
to the point where it should be fine to require Cython to be installed.
Also, we have wheels (and conda-forge packages) for Windows, Linux and
macOS, so this change won't be visible at all to the average user.
Closes gh-13790
Also adds pyproject.toml to MANIFEST.in, it was missing.
Diffstat (limited to 'pyproject.toml')
-rw-r--r-- | pyproject.toml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pyproject.toml b/pyproject.toml index 949e12c9e..4439ed229 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,10 @@ [build-system] # Minimum requirements for the build system to execute. -requires = ["setuptools", "wheel", "cython"] # PEP 508 specification +requires = [ + "setuptools", + "wheel", + "Cython>=0.29.13", # Note: keep in sync with tools/cythonize.py +] [tool.towncrier] |