keflavich / FITS_tools

Simple scipy and python based tools for FITS image manipulation
17 stars 12 forks source link

Removed astropy-helpers dependency for Python 3.12 compatibility #17

Closed mcyc closed 1 week ago

mcyc commented 1 week ago

Overhauled setup.py to remove dependencies on astropy-helpers and ah_bootstrap.py, making it Python 3.12-compatible. astropy-helpers has been deprecated since 2021. Please note that the current setup.py implementation also removes dependencies on setup.cfg.

This pull request should address Issue https://github.com/keflavich/FITS_tools/issues/14.

keflavich commented 1 week ago

Thanks!

I think I need to add a pyproject.toml at some point? I'll just go ahead and merge this for now; on my long to-do list is refactoring all my packages to remove the astropy-helpers stuff.