Skip to content

Commit b2a13ae

Browse files
committed
update MANIFEST.in to package only the main source
The MANIFEST.in will exclude documentation, examples and tests and all files in the repo root. This way only the main source in esp32_ulp/ will be packaged by sdist. Since we're packaging to upip format, which can only be installed by MicroPython/upip, we leave out all files that are not strictly needed to run on the ESP32, so we save space on the device. If anyone needs the other files on a more capable device (aka PC), simply do a git clone.
1 parent f958d66 commit b2a13ae

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

MANIFEST.in

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# stuff we need to include into the sdist is handled automatically by
22
# setuptools_scm - it includes all git-committed files.
3-
# but we want to exclude some committed files/dirs not needed in the sdist:
4-
exclude .gitattributes .gitignore
3+
# but we want only the main source code and exclude everything else
4+
# to not waste space on the esp32
5+
# (upip packages are not installable by pip on a PC, so on a PC one
6+
# would git clone anyway and get all the other files)
7+
exclude * # exclude all files in repo root
58
prune .github
9+
prune docs
10+
prune examples
11+
prune tests

0 commit comments

Comments
 (0)