summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2019-07-23 09:56:16 -0700
committerGitHub <noreply@github.com>2019-07-23 09:56:16 -0700
commitbc78f065f39e64746b8683470684ef8c7e915c1a (patch)
treea5390fb202d4f7a1c3349430c0e98c0e22556ee6
parent1de750537097ffca1ca3c931a1f36370e51432da (diff)
parent8b2665552c89ae3582e36742768f3661364f1ac0 (diff)
downloadnumpy-bc78f065f39e64746b8683470684ef8c7e915c1a.tar.gz
Merge pull request #14053 from mattip/pyproject.toml
ENH: add pyproject.toml
-rw-r--r--pyproject.toml4
-rwxr-xr-xsetup.py2
2 files changed, 5 insertions, 1 deletions
diff --git a/pyproject.toml b/pyproject.toml
new file mode 100644
index 000000000..0e4f8aeb1
--- /dev/null
+++ b/pyproject.toml
@@ -0,0 +1,4 @@
+[build-system]
+# Minimum requirements for the build system to execute.
+requires = ["setuptools", "wheel", "cython"] # PEP 508 specification
+
diff --git a/setup.py b/setup.py
index a492142ed..e850c3d13 100755
--- a/setup.py
+++ b/setup.py
@@ -364,7 +364,7 @@ def parse_setuppy_commands():
def setup_package():
- src_path = os.path.dirname(os.path.abspath(sys.argv[0]))
+ src_path = os.path.dirname(os.path.abspath(__file__))
old_path = os.getcwd()
os.chdir(src_path)
sys.path.insert(0, src_path)