Skip to content

Commit

Permalink
Merge pull request #1132 from QuLogic/pep518
Browse files Browse the repository at this point in the history
BLD: Add pyproject.toml defining build requirements.
  • Loading branch information
dopplershift committed Oct 30, 2018
2 parents f19ca5e + e2dd1f6 commit 670ca06
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ include CHANGES
include COPYING*
include INSTALL
include README.rst
include pyproject.toml
include requirements/*.txt
include lib/cartopy/data/*
include lib/cartopy/io/srtm.npz
Expand Down
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[build-system]
requires = ["setuptools", "wheel", "numpy>=1.10", "Cython>=0.15.1"]
7 changes: 0 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,6 @@
import versioneer


# Ensure build-time dependencies are available.
# See https://stackoverflow.com/a/12061891
setuptools.dist.Distribution(
dict(
setup_requires=['Cython>=0.15.1', 'numpy>=1.10']))


try:
from Cython.Distutils import build_ext
except ImportError:
Expand Down

0 comments on commit 670ca06

Please sign in to comment.