What is the problem this feature will solve?
Astropy is a very heavyweight dependency and is difficult to use in a serverless, space-constrained environment like AWS Lambda. When installed from wheels for Linux aarch64, the astropy directory in site-packages takes up 58 MB. Of that, the astropy/**/tests directories take up 20 MB.
Describe the desired outcome
Move the test directories out of the installed Python package, or exclude them from packaging.
Additional context
No response
What is the problem this feature will solve?
Astropy is a very heavyweight dependency and is difficult to use in a serverless, space-constrained environment like AWS Lambda. When installed from wheels for Linux aarch64, the
astropydirectory insite-packagestakes up 58 MB. Of that, theastropy/**/testsdirectories take up 20 MB.Describe the desired outcome
Move the test directories out of the installed Python package, or exclude them from packaging.
Additional context
No response