Commit graph

15 commits

Author SHA1 Message Date
9524f770b3 Add circuitpython-mpy-cross
This wraps the process of building or downloading mpy-cross for a specified
version, then running it with specified arguments.

e.g.,
```
$ circuitpython-mpy-cross --circuitpython-version 9.x -- --version
CircuitPython 9.0.0-alpha.2 on 2023-10-27; mpy-cross emitting mpy v6.1
```
2024-06-16 11:40:19 -05:00
c8a8513288 mpy_cross: Cache it in the user cache path
.. rather than in a build_deps folder, polluting the repo where it's used

this also enables sharing the copy of mpy-cross across multiple repos.
2024-06-15 10:49:11 -05:00
e896099f09
bump minimum python version to 3.10
.. this is what is used during the build of the adafruit bundle right now.
2023-12-17 08:10:45 -06:00
951b47c132
require tomli at install time 2023-12-14 10:58:14 -06:00
James Carr
c9a7d6323e
Update Python requirement to 3.7 2021-05-30 00:27:06 +01:00
James Carr
1b45018a49
Update setup.py to install requests 2021-05-29 20:08:03 +01:00
Scott Shawcroft
1f7cc3e854 Add support for replacing placeholder version string with git tag
based versions that are semver compatible. If a prerelease
identifier is already present we'll bump ahead by adding `.plus.`
and the number of subsequent commits. If its not, we'll bump the
patch digit and call it `alpha.0` and add the remaining `.plus.` bit.

This also changes the file names of the mpy zips to include "-mpy-"
which should help space out two potentially confusing version strings
(that of circuitpython and that of the library.)
2017-12-20 11:52:10 -08:00
Scott Shawcroft
285f5fee4e Rename to circuitpython-build-tools because it does work locally with a compiler. 2017-12-06 11:03:08 -08:00
Scott Shawcroft
adf56bf608 Explicitly add scripts package. 2017-11-30 12:44:24 -08:00
Scott Shawcroft
b92c89cc75 Remove part added for click thats unneeded 2017-11-30 12:19:44 -08:00
Scott Shawcroft
ba07a7ad87 Use click to do proper argument parsing and rework for building
single library bundles.
2017-11-30 11:54:16 -08:00
Scott Shawcroft
da4ab53ddc Build tweaks. 2017-11-22 17:26:13 -08:00
Scott Shawcroft
c53e6eb23a Fix output directory creation. 2017-11-22 16:19:41 -08:00
Scott Shawcroft
90d4255ca5 Use setuptools. 2017-11-22 15:47:40 -08:00
Scott Shawcroft
38ffd939e8 Rework so we can package it on pip. 2017-11-22 15:40:51 -08:00