-
Notifications
You must be signed in to change notification settings - Fork 4
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
Reduce the size of our built packages #154
Comments
Triggered by fatiando/pooch#423 and fatiando/pooch#416 |
I think that's a good idea. To make life easier for yourselves when it comes to automatic discovery, I'd suggest switching to a flat layout. With the current layout and automatic discovery it's actually quite hard to exclude the tests. With a flat layout the |
On second thought and after having had a quick shot at the flat layout with Of course, that's not a requirement and being explicit regarding what to include and what not is also an option. For I'd be willing to open a PR (or amend my current PR) for |
Description:
At the moment, we put a lot of stuff in the packages we upload to PyPI: actual code, tests, test data, doc sources, etc. For installed packages, the only thing that's actually necessary is the actual code. We used to package the tests so that we could run the tests on the installed package but we never do that in practice. This results in our packages being larger than they need to be and wasted bandwidth.
In the spirit of frugal computing, I'd like to propose:
LICENSE.txt
file. The supporting.md
files don't need to be there since nobody looks at them in packages anyway.tests
folder. This will require editing ourMakefile
but it shouldn't be a big deal.Apply to:
Need to update the contributing guide in:
Further instructions:
Related to fatiando/community#XX
We want your help!
We know that maintenance tasks are very demanding, so we don't expect a single person to tackle this issue by themselves. Any help is very welcomed, so please comment below that you want to take care of the changes on any repository and we will assign it to you.
The text was updated successfully, but these errors were encountered: