circuitpython-build-tools icon indicating copy to clipboard operation
circuitpython-build-tools copied to clipboard

Build scripts for CircuitPython libraries and the bundle

Results 13 circuitpython-build-tools issues
Sort by recently updated
recently updated
newest added

Add advanced source transformations to reduce type checking overhead The new 'munge' module performs transformations on the source code. It uses the AST (abstract syntax tree) representation of Python code...

Add tests to the PR build workflow in order to catch errors and malformed bundles.

One issue with the bundle builder is that frozen libraries are still included and we are blindly telling users to place all the libraries in their lib folder. Most of...

The https://github.com/adafruit/Adafruit_CircuitPython_asyncio library is a package of multiple library files, but its package folder does not start with `adafruit_`: it is simply `asyncio`. Because the package folders are filtered to...

I have a CirPy lib that uses `spidev` on Linux (yields much better performance than pureio). I have listed spidev in the lib's requirements.txt like so ```txt adafruit-circuitpython-busdevice spidev; sys_platform...

@kattni noticed that is31f73741 didn't list adafruit_register (or indeed adafruit_bus_device) in its requirements.txt, leading to incorrect bundlefly, folder images, etc. While we'll correct the problem, is there a way to...

I am building the circuitpython community bundle, and followed the directions in the README: ``` git submodule init git submodule update ./update-submodules.sh circuitpython-build-bundles --filename_prefix adafruit-circuitpython-bundle --library_location libraries --library_depth 2 ```...

We could expand the [`VERSIONS` dict](https://github.com/adafruit/circuitpython-build-tools/blob/master/circuitpython_build_tools/target_versions.py) to allow for optional inclusion of any pre-release libraries. Currently, 5.x has a BLE API change, with a corresponding BLE library update. The library...

Discovered in [#1234](https://github.com/adafruit/circuitpython/issues/1234). When files are in a package folder, but the `package_folder_prefix` doesn't match the package foldername, the files are bundled outside of the package folder.

This adds the ability to (download or build, then) invoke any supported version of mpy-cross: ``` $ circuitpython-mpy-cross --circuitpython-version 8.x -- --version CircuitPython 8.2.0 on 2023-07-05; mpy-cross emitting mpy v5-CircuitPython...