-
Notifications
You must be signed in to change notification settings - Fork 10
Description
After the deprecation of distutils the separate libraries are hard to maintain. To facilitate maintenance and development, the following changes will be made:
Repository renamings
ndtypes ==> libndtypes
xnd ==> libxnd
gumath ==> libgumath
These are of course easily reversible if the new structure does not work out.
New combined repository
The new combined repository will be named xnd and will contain all libraries and Python modules. The Python modules have a dual function: They are built for running the library tests but they are also the authoritative source for the Python packages.
Build system
In order to maximize independence from the Python packaging machinery, xnd will be entirely built by CMake. CMake has excellent support for building Python C-extensions without relying on any third party packages.
The Python modules built by CMake are of course directly usable for testing and development, thereby making support for editable installs unnecessary.
Python packages
A separate xndpy repository will contain the necessary code for building packages. The actual build will utilize CMake, the packaging routines will be handled by a custom backend, flit and pyproject.toml. Developers will never need this, see above.