Skip to content

Commit

Permalink
Migrate setup.cfg → pyproject.toml
Browse files Browse the repository at this point in the history
See PEP 621 and PEP 518.
  • Loading branch information
DimitriPapadopoulos committed Dec 9, 2023
1 parent fba5f5e commit 1d1cfa0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,7 @@ repository = "https://github.com/workhorsy/py-cpuinfo.git"

[project.scripts]
cpuinfo = "cpuinfo:main"


[tool.distutils.bdist_wheel]
universal = false
2 changes: 0 additions & 2 deletions setup.cfg

This file was deleted.

4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@
from setuptools import setup

if __name__ == "__main__":
setup()
setup(
test_suite="test_suite.py",
)

0 comments on commit 1d1cfa0

Please sign in to comment.