Closed KOLANICH closed 4 years ago
Nevermind, numpy seems to require setuptools now (I referenced an old commit hash in the comment above).
Still please provide a more detailed explanation.
Why is this change useful?
python3 ./setup.py bdist_wheel
works.setup.cfg
is not Turing-complete, so it is easier for third party tools to extract data from it.Does this break any workflows? As far as I can tell, distutils
are built-in and setuptools
are not but I don't know much about Python packaging.
Does this break any workflows?
The only workflow miss of setuptools
breaks I know is when I want to build a wheel manually. For example when I want to build a wheel as a user and then install it as root.
As far as I can tell, distutils are built-in and setuptools are not but I don't know much about Python packaging.
They are de-facto standard. Anyway, I can move the metadata back and make a fallback to distutils. Should I?
Yeah, please do the fall back. I'd rather err on the side of caution here. Thanks.
Already done.
Thanks @KOLANICH
numpy seems to fall back to distutils:
https://github.com/numpy/numpy/blob/8957f23bd61623e0293df610dfe339e09fb0c653/setup.py#L219-L227
SciPy does something similar
Should this package do the same? Why is this change useful?