Describe the bug
The SasView wheel generated by our CI is 144 MB in size, larger than the 100 MB limit imposed by PyPi. We can get a waiver for the upload, but this waiver is (might be?) required for each release that is over 100 MB
To Reproduce
Steps to reproduce the behavior:
- Download the wheel from any CI run.
- Unzip it and look at the file size
- See the file is 144 MB.
Expected behavior
The file should be minimial in size in order to meet the PyPi requirements.
SasView version (please complete the following information):
Additional context
The as-installed size of the wheel (without dependencies) balloons to 320 MB. Of this 320 MB, over 70 MB is from example data, over 130 MB is from the documentation, and 30 MB is from tutorials. These three account for over 70% of the extracted size. Removing some or all of these from the wheel should bring us below the 100 MB limit.
Proposed ideas include:
- Documentation
- Move all documentation online. The CI process could be modified to upload the latest version to the website (nightly build and/or releases)
- Have a zip file that can be downloaded for offline viewing
- Change the doc viewer to look for documentation locally, but also online
- Move all doc editing to a danse site that can auto-submit PRs.
- Example Data
- Move all example data to a separate repo with its own documentation.
- On-demand download of the data through the app
- Pare down the number of files and sort them based on analysis relevence
- Tutorials
- These are already in their own repo - open the websites instead of bundling them with the distributable?
- Similar to the documentation, allow a bulk download of all of them
Relevant issues:
Describe the bug
The SasView wheel generated by our CI is 144 MB in size, larger than the 100 MB limit imposed by PyPi. We can get a waiver for the upload, but this waiver is (might be?) required for each release that is over 100 MB
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The file should be minimial in size in order to meet the PyPi requirements.
SasView version (please complete the following information):
Additional context
The as-installed size of the wheel (without dependencies) balloons to 320 MB. Of this 320 MB, over 70 MB is from example data, over 130 MB is from the documentation, and 30 MB is from tutorials. These three account for over 70% of the extracted size. Removing some or all of these from the wheel should bring us below the 100 MB limit.
Proposed ideas include:
Relevant issues: