Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

distutils will disappear with Python 3.12: mesonpy ? #152

Closed
picca opened this issue Aug 1, 2023 · 1 comment · Fixed by #191
Closed

distutils will disappear with Python 3.12: mesonpy ? #152

picca opened this issue Aug 1, 2023 · 1 comment · Fixed by #191
Labels
dependencies Pull requests that update a dependency file type: maintenance
Milestone

Comments

@picca
Copy link

picca commented Aug 1, 2023

While preparing the Debian package of hyperspy I have warning about the deprecated distutils modules.

mesonpy seems to the the best candidate to build and distribute Python extension. numpy, scipy, pyfai, python-fabio have already migrated to this build system.

Could you considere using this build system to allow a better support in our distributions.

thanks considering

Frédéric

@ericpre ericpre transferred this issue from hyperspy/hyperspy Aug 1, 2023
@ericpre
Copy link
Member

ericpre commented Aug 1, 2023

I have transferred the issue here, as the cython code of the bcf reader now lives here.

I am not sure distutils is needed anymore, as this is only used to check if a c-compiler is working and provide a nicer error message:
https://github.com/hyperspy/rosettasciio/blob/7f1612955640031a5634e51b3bc0a87b3e9a1dc7/setup.py#L92C1-L106

@ericpre ericpre added this to the v0.3 milestone Dec 6, 2023
@ericpre ericpre added type: maintenance dependencies Pull requests that update a dependency file labels Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file type: maintenance
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants