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 70785c7
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 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
14 changes: 9 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
[build-system]
requires = ["setuptools>=64.0.0", "setuptools-scm"]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"


[project]
name = "py-cpuinfo"
version = "9.0.0"
Expand All @@ -11,7 +10,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 @@ -22,8 +21,13 @@ classifiers=[
packages=["cpuinfo"]

[project.urls]
homepage = "https://github.com/workhorsy/py-cpuinfo"
repository = "https://github.com/workhorsy/py-cpuinfo.git"
Homepage = "https://github.com/workhorsy/py-cpuinfo"
Repository = "https://github.com/workhorsy/py-cpuinfo.git"
Issues = "https://github.com/workhorsy/py-cpuinfo/issues"
Changelog = "https://github.com/workhorsy/py-cpuinfo/blob/master/ChangeLog"

[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 70785c7

Please sign in to comment.