From 0bb60814b3a0eee1f8843095c449433c8ec7b766 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Thu, 27 Sep 2018 04:41:48 -0400 Subject: [PATCH] BLD: Add pyproject.toml defining build requirements. Fixes #1112. See also #1035. --- pyproject.toml | 2 ++ setup.py | 7 ------- 2 files changed, 2 insertions(+), 7 deletions(-) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000000..59314b9803 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,2 @@ +[build-system] +requires = ["setuptools", "wheel", "numpy>=1.10", "Cython>=0.15.1"] diff --git a/setup.py b/setup.py index 6e67d1daf0..81eac1ec4a 100644 --- a/setup.py +++ b/setup.py @@ -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: