diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2019-07-23 09:56:16 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-23 09:56:16 -0700 |
commit | bc78f065f39e64746b8683470684ef8c7e915c1a (patch) | |
tree | a5390fb202d4f7a1c3349430c0e98c0e22556ee6 | |
parent | 1de750537097ffca1ca3c931a1f36370e51432da (diff) | |
parent | 8b2665552c89ae3582e36742768f3661364f1ac0 (diff) | |
download | numpy-bc78f065f39e64746b8683470684ef8c7e915c1a.tar.gz |
Merge pull request #14053 from mattip/pyproject.toml
ENH: add pyproject.toml
-rw-r--r-- | pyproject.toml | 4 | ||||
-rwxr-xr-x | setup.py | 2 |
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 + @@ -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) |