diff --git a/Makefile b/Makefile index 79aefc797..e6b857b7f 100644 --- a/Makefile +++ b/Makefile @@ -2,8 +2,10 @@ clean_dist: rm -rf dist/* +# This step assumes there is already a virtualenv active. create_dist: clean_dist - python setup.py sdist + python -m pip install build + python -m build --sdist . upload_package: create_dist twine upload dist/* diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 000000000..dc450d8eb --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["setuptools", "packaging", "psutil", "ninja", "torch", "wheel"] +build-backend = "setuptools.build_meta" \ No newline at end of file