This PR aims at updating/simplifying the setuptools and CI configs and removing unnecessary code.
The main breaking change is the removal of setup.py build command line arguments that was deprecated in favor of environment variables.
Another change is the requirement of setuptools>62.4.0 and py-cpuinfo==9.0.0, but that won't be visible when installing with pip.
I would include this in a major release.
Details of the changes:
Requires setuptools>62.4.0: allow using pyproject.toml and removing fallbacks to distutils
Move project metadata from setup.py to pyproject.toml
Simplify CI test workflow and remove ci/info_platform.py
Rename extras_require [dev] to [doc] and use it instead of requirements.txt to avoid duplicating the list of dependencies
Remove local copy of cpuinfo.py: This is only needed when building with python setup.py build (as is setuptools). In this case, a log indicates to install py-cpuinfo.
Remove supports for setup.py build command line arguments since this is a deprecated feature of setuptools.
This PR aims at updating/simplifying the
setuptools
and CI configs and removing unnecessary code.The main breaking change is the removal of
setup.py build
command line arguments that was deprecated in favor of environment variables. Another change is the requirement ofsetuptools>62.4.0
andpy-cpuinfo==9.0.0
, but that won't be visible when installing withpip
. I would include this in a major release.Details of the changes:
setuptools>62.4.0
: allow usingpyproject.toml
and removing fallbacks todistutils
setup.py
topyproject.toml
ci/info_platform.py
[dev]
to[doc]
and use it instead ofrequirements.txt
to avoid duplicating the list of dependenciescpuinfo.py
: This is only needed when building withpython setup.py build
(as issetuptools
). In this case, a log indicates to installpy-cpuinfo
.setup.py build
command line arguments since this is a deprecated feature ofsetuptools
.setup.py