Skip to content

Commit

Permalink
BLD: Add pyproject.toml defining build requirements.
Browse files Browse the repository at this point in the history
Fixes #1112.
See also #1035.
  • Loading branch information
QuLogic committed Sep 27, 2018
1 parent e9df849 commit 0bb6081
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
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 0bb6081

Please sign in to comment.