Closed minhtuev closed 2 months ago
The recent updates focus on refining the build process by excluding unnecessary directories and ensuring a clean state before each build. This involves pruning the dist
directory from the distribution package and adding a clean
target in the Makefile to remove old build artifacts.
File | Summary of Changes |
---|---|
MANIFEST.in |
Added prune dist to exclude the dist directory. |
Makefile |
1. Added clean target to remove ./dist/* . 2. Updated python: app to python: app clean . |
š°āØ Oh hark! What changes we now see, A cleaner build, as clean can be! Prune the old, with care we sweep, In
dist
no old files keep. Hop and build, with joy anew, For clean and tidy, through and through! šš
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
I would suggest adding prune dist
to the MANIFEST.in
file too - that will prevent it from being included as well.
I wonder how many times we've shipped out wheels that had wheels in them š
I would suggest adding
prune dist
to theMANIFEST.in
file too - that will prevent it from being included as well.I wonder how many times we've shipped out wheels that had wheels in them š
Wheel within wheel within wheel, sounds like a Dune reference :)
What changes are proposed in this pull request?
Adding a clean step to Makefile so that we don't bundle existing dist content. I observed that running
make python
repeatedly right now will increase the size of the archived files because we are also bundling the dist content as well :)How is this patch tested? If it is not, please explain why.
Tested locally and verified that the archived file no longer contains the dist folder.
Release Notes
Is this a user-facing change that should be mentioned in the release notes?
(Details in 1-2 sentences. You can just refer to another PR with a description if this PR is part of a larger change.)
What areas of FiftyOne does this PR affect?
fiftyone
Python library changesSummary by CodeRabbit
dist
directory, ensuring cleaner distributions.clean
target to remove old distributions before creating new ones.