Skip to content

Releases: adafruit/circuitpython-build-tools

Include `__init__.py` During mpy-cross; Include Subfolders; Modularize Package Search

07 May 02:08
44c0748
Compare
Choose a tag to compare
  • Removes the exclusion of compiling __init__.py with mpy-cross, for packaged libraries. Zero-byte files are still excluded.

  • When creating the list of files to bundle, subfolders weren't traversed inside of a packaged library. This release now includes subfolders (to include subfolders in the examples folder; for now)

  • Modularize Package Search

    • Adds a command line argument package_folder_prefix to use for determining which folder(s) to include with packaged libraries. This changes from an exclusive approach to an inclusive approach, while still allowing some flexibility. (could be expanded to use a list of prefixes in the future)

Folder Name Tweaks & Font File Inclusion

06 Feb 00:59
6d26530
Compare
Choose a tag to compare
  • Tweaks the top level folder names a little.

  • Includes a standard font file for the adafruit_framebuf library. font5x8.bin will be included in the examples folders.

Re-Enable 2.x Bundles [For Now]

30 Oct 04:16
5983c59
Compare
Choose a tag to compare

We're re-enabling 2.x bundle builds to allow for a softer landing on 2.x deprecation.

Updated Bundle Versions; Bug Fixes

20 Oct 04:47
b3cb194
Compare
Choose a tag to compare
  • Version Updates:

    • Removed 2.x
    • Added 4.x
  • Fixed placement of README.txt in bundle zip files

  • Fixed mpy-cross build

Now Includes Library Example Files!

16 Oct 23:06
8a326f3
Compare
Choose a tag to compare

CircuitPython Build Tools now includes example files from each library!

Change Log:

  • Folder structure was changed to include a top level folder with the same name as the .zip file.
  • Examples:
    • A standalone examples bundle is now built.
    • .py & .mpy bundles now include an examples folder.
    • The example files come from each library's /examples/ folder. This allows users to quickly test devices with the documented examples; simply use import examples.<filename>. This further allows users to have an easily accessible local copy of all examples, to use as reference or build upon
    • All included example files are in the raw .py format. On memory-constrained platforms, it may be necessary to utilize mpy-cross to reduce memory impact.

Use x.x lib names but use a fixed version for mpy-cross builds

11 Jul 19:22
68a736f
Compare
Choose a tag to compare

I missed that the tag value specified the CPy version.

Updated lib bundle names.

11 Jul 18:36
b3b040b
Compare
Choose a tag to compare

Updated lib bundle names to 2.x and 3.x from more specific version numbers to alleviate issues with users being confused about whether they were downloading the correct library.

Allow packages with only one source file

04 Jun 21:09
421cd0f
Compare
Choose a tag to compare

A number of packages have only one source file + __init__.py. __init__.py isn't needed for Python 3, but removing it broke the builds because build.py was assuming there would be at least two files in a package.

Remove update scripts from multi-lib bundle

05 Mar 23:36
1d6e0d8
Compare
Choose a tag to compare
Merge pull request #13 from adafruit/tannewt-patch-2

No longer include update scripts in the bundle

New CircuitPython Versions

05 Mar 22:08
3a44760
Compare
Choose a tag to compare

Update builds to 2.2.3 and 3.0.0-alpha.2.