Improve build process
@reszelaz reported an issue with the Windows conda package: metadata are missing (no dist-info directory).
This is because on Windows we use cmake to build the C extension and then call python setup.py
with build_py
and install_lib
.
This doesn't create the metadata. I guess that bdist_wheel
does create the metadata and that's why the windows wheel works properly (we don't run that in the conda recipe).
Running python setup.py
is deprecated. We should review windows build process so we can use pip
or build
.
Use CMake for all operating systems. Consider scikit-build, and guidelines from https://scikit-hep.org/developer/packaging.
Edited by Anton Joubert