diff options
-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) |