From 0a95a1c4ca71d63799eb63c518ce8cbaa7904ccd Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Sat, 29 Oct 2022 21:48:50 +0200 Subject: [PATCH] =?UTF-8?q?Migrate=20setup.cfg=20=E2=86=92=20pyproject.tom?= =?UTF-8?q?l?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See PEP 621 and PEP 518. --- .github/workflows/python-test.yml | 2 +- pyproject.toml | 8 ++++++-- setup.cfg | 2 -- 3 files changed, 7 insertions(+), 5 deletions(-) delete mode 100644 setup.cfg diff --git a/.github/workflows/python-test.yml b/.github/workflows/python-test.yml index f3f6542..205d358 100644 --- a/.github/workflows/python-test.yml +++ b/.github/workflows/python-test.yml @@ -29,4 +29,4 @@ jobs: python -m pip install --upgrade pip - name: Run tests run: | - python setup.py test + python test_suite.py diff --git a/pyproject.toml b/pyproject.toml index 88dbae1..016a156 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools>=64.0.0", "setuptools-scm"] +requires = ["setuptools>=64.0.0"] build-backend = "setuptools.build_meta" @@ -11,7 +11,7 @@ license = {text = "MIT"} authors = [ {name = "Matthew Brennan Jones", email = "matthew.brennan.jones@gmail.com"} ] -readme = "README.rst" +readme = "README.md" requires-python = ">=3" classifiers=[ "Development Status :: 5 - Production/Stable", @@ -27,3 +27,7 @@ repository = "https://github.com/workhorsy/py-cpuinfo.git" [project.scripts] cpuinfo = "cpuinfo:main" + + +[tool.distutils.bdist_wheel] +universal = false diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index 526aeb2..0000000 --- a/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal = 0