Skip to content

Reduce the size of our built packages #154

@leouieda

Description

@leouieda

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:

  1. Only build packages that have the actual code and the LICENSE.txt file. The supporting .md files don't need to be there since nobody looks at them in packages anyway.
  2. Remove the tests folder from inside the package and place it at a top-level tests folder. This will require editing our Makefile but it shouldn't be a big deal.

Apply to:

Need to update the contributing guide in:

Further instructions:

  • Start by opening Pull Requests on each repository listed above.
  • Optionally, we can open Issues on each repository if further discussion specific to that repository is needed.
  • Mention this Issue on every Issue or Pull Request opened on each opened: Related to fatiando/community#XX
  • Check-off the repository on the list above once the Pull Request is merged.
  • Close this issue when all items are checked-off.

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    maintenanceMaintenance tasks across the project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions