abusets automatically downloads data files on import if they are not present.
From pip's perspective, these files are "manually added", so they are not removed when starfit is uninstalled.
Also, generating the documentation automatically using sphinx-apidoc requires the starfit module to be loaded. On the readthedocs runners, this will download the data for every build, since they start from a clean environment. This slows down the build, and is a waste of bandwidth.
The solution is to find an alternative to automatically downloading files on import. For example:
Users should manually call a function or run a script to download these files - this solves the problem of files being downloaded when generating docs
Files should be downloaded into a user directory, not into the starfit installation - this solves the problem of data files being left behind after uninstall
abusets
automatically downloads data files on import if they are not present.From pip's perspective, these files are "manually added", so they are not removed when starfit is uninstalled.
Also, generating the documentation automatically using
sphinx-apidoc
requires the starfit module to be loaded. On the readthedocs runners, this will download the data for every build, since they start from a clean environment. This slows down the build, and is a waste of bandwidth.The solution is to find an alternative to automatically downloading files on import. For example: