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 0a95a1c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ jobs:
python -m pip install --upgrade pip
- name: Run tests
run: |
python setup.py test
python test_suite.py
8 changes: 6 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["setuptools>=64.0.0", "setuptools-scm"]
requires = ["setuptools>=64.0.0"]
build-backend = "setuptools.build_meta"


Expand All @@ -11,7 +11,7 @@ license = {text = "MIT"}
authors = [
{name = "Matthew Brennan Jones", email = "[email protected]"}
]
readme = "README.rst"
readme = "README.md"
requires-python = ">=3"
classifiers=[
"Development Status :: 5 - Production/Stable",
Expand All @@ -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.

0 comments on commit 0a95a1c

Please sign in to comment.