omuse
omuse copied to clipboard
Support for customising `build.sub_commands` directly from `distutils` has been deprecated and is about to be removed from `setuptools`
The following feature in setuptools has been deprecated for almost 2 years and is about to be removed:
https://github.com/pypa/setuptools/blob/1ed759173983656734c3606e9c97a348895e5e0c/setuptools/command/build.py#L13-L27
It might be a good idea to import build
directly from setuptools for the following code:
https://github.com/omuse-geoscience/omuse/blob/80b180d9348c12d9095f512058617f2c87db963f/support/setup_codes.py#L1281
(maybe other places too)
(build
is available directly from setuptools, starting on version v62.4.0)
I'm currently working on a completely new build system for AMUSE, the astrophysics environment OMUSE was derived from, which will not use setuptools at all. We're planning to port OMUSE to that as well.
We can make a temporary fix to OMUSE as needed to get build from setuptools rather than distutils in the mean time, depending on how long things take and how much of a problem it becomes. It's also possible to use an older version of setuptools for the time being.
So one way or another this will get fixed. Thanks for reporting!
Thanks @LourensVeen for having a look on this (I am not using the project myself, but I am reporting it here because the feature will be removed soon: https://github.com/pypa/setuptools/pull/4322)