Skip to content

Commit 562cd32

Browse files
committed
Updated package build tools
1 parent 62af972 commit 562cd32

3 files changed

Lines changed: 4 additions & 22 deletions

File tree

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[build-system]
2+
requires = ["setuptools", "wheel"]
3+
build-backend = "setuptools.build_meta"

release.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def release():
4545
if ans.lower() in ("y", "yes"):
4646
# os.system("rm -rf dist/*") #Linux
4747
os.system("RMDIR /S /Q dist") #Windows
48-
os.system("python setup.py sdist bdist_wheel")
48+
os.system("python -m build")
4949

5050
# Test PyPi Server
5151
os.system("twine upload --repository testpypi dist/*")

setup.cfg

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)