Skip to content

Commit 01e8233

Browse files
authored
Merge pull request #7 from tannewt/remove_build_bundle
Remove circuitpython submodule and update build instructions.
2 parents 46c3950 + 418961b commit 01e8233

File tree

4 files changed

+14
-163
lines changed

4 files changed

+14
-163
lines changed

.gitmodules

-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
[submodule "circuitpython"]
2-
path = circuitpython
3-
url = https://github.com/adafruit/circuitpython.git
41
[submodule "libraries/helpers/example"]
52
path = libraries/helpers/example
63
url = https://github.com/tannewt/CircuitPython_Example.git

README.md

+14-4
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,17 @@ Only do this if you are replacing the module with an equivalent:
4343
git rm libraries/<target directory>
4444

4545
## Building the bundle
46-
To build the bundle run `build-bundle.py` it requires Python 3.5+ and will
47-
produce a zip file in `build`. The file structure of the zip will not be
48-
identical to the source `libraries` directory in order to save space. Libraries
49-
with a single source will not be placed in their own directory.
46+
To build this bundle locally you'll need to install the
47+
`circuitpython-build-tools <https://github.com/adafruit/circuitpython-build-tools>`_ package.
48+
49+
python3 -m venv .env
50+
source .env/bin/activate
51+
pip install circuitpython-build-tools
52+
53+
Once installed, make sure you are in the virtual environment:
54+
55+
source .env/bin/activate
56+
57+
Then run the build:
58+
59+
circuitpython-build-bundles --filename_prefix circuitpython-community-bundle --library_location libraries --library_depth 2

build-bundle.py

-155
This file was deleted.

circuitpython

-1
This file was deleted.

0 commit comments

Comments
 (0)