Open taldcroft opened 6 months ago
This might be because we haven't fully transitioned away from setup.py in this project yet.
In our local packages we use setuptools_scm and setup.py without any issues.
But the point about moving away from setup.py and adopting the machinery for setuptools_scm that is used by astropy itself seems like it should fix this issue and be a good thing anyway.
If the file
.git_archival.txt
exists in the current directory, then importingastropy_healpix
will generate a warning fromsetuptools_scm
. For some reason the.git_archival.txt
file is noticed bysetuptools_scm
in the import process. An example is shown below.We have many packages using the same
setuptools_scm
machinery and they do not have this issue. The coreastropy
is another example, so it seems to be something in the wayastropy-healpix
is working.