Commit graph

61 commits

Author SHA1 Message Date
Kattni
a0acc366f4
Reenable 2.x bundle
We're reenabling the 2.x bundle until we've made it clear through guide updates etc that we're deprecating it.
2018-10-29 16:02:07 -04:00
Scott Shawcroft
b3cb194f08
Merge pull request #20 from sommersoft/examples
Fixed README Placement
2018-10-18 10:34:45 -07:00
sommersoft
4b060c0495 Merge branch 'examples' of https://github.com/sommersoft/circuitpython-build-tools into examples 2018-10-16 20:52:48 -05:00
sommersoft
b0f19ccf1b fix README location in zip 2018-10-16 20:42:35 -05:00
Kattni
0813236963
Merge pull request #19 from adafruit/tannewt-patch-4
Remove 2.x and add 4.x
2018-10-16 20:12:57 -04:00
Scott Shawcroft
a65c0e9402
Fix the build by initing submodules under tools. 2018-10-16 16:49:43 -07:00
Scott Shawcroft
1a1550b620
Remove 2.x and add 4.x 2018-10-16 16:20:47 -07:00
Scott Shawcroft
8a326f3aa7
Merge pull request #18 from sommersoft/examples
Add Examples To Bundles
2018-10-16 11:25:40 -07:00
sommersoft
ff34fa38c4
remove debug print; add cwd to git tag subprocess 2018-10-15 09:30:29 -05:00
sommersoft
a7ef777ff3 include VERSIONS.txt in examples bundle 2018-10-13 12:10:46 -05:00
sommersoft
d4044dc39e added examples to each bundle; example bundle build. see bundle issue #3. 2018-10-11 16:10:03 -05:00
Scott Shawcroft
68a736fa71
Merge pull request #17 from dhalbert/fix-build-version-tags
use a fixed version for mpy-cross builds
2018-07-11 12:14:43 -07:00
Dan Halbert
a4a324d2c2 use a fixed version for mpy-cross builds 2018-07-11 15:06:44 -04:00
Dan Halbert
b3b040bc27
Merge pull request #16 from adafruit/kattni-bundle-name-update
updated bundle naming to match 3.0.0 final release
2018-07-11 14:34:22 -04:00
Kattni
78cd062a0f
updated for more flexibility moving foward 2018-07-11 14:32:46 -04:00
Kattni
7f6f0a5b9a
updated bundle naming to match 3.0.0 final release 2018-07-11 14:11:52 -04:00
Scott Shawcroft
421cd0ff10
Merge pull request #15 from dhalbert/one-package-file
allow packages with one source file
2018-06-04 14:06:07 -07:00
Dan Halbert
739d5be0f2 allow packages with one source file 2018-06-04 17:01:46 -04:00
Dan Halbert
768b3ac2a7
Merge pull request #14 from adafruit/tannewt-patch-3
update versions
2018-06-02 22:37:49 -04:00
Scott Shawcroft
c21637b7b5
update versions 2018-05-23 14:20:18 -07:00
Kattni
1d6e0d8d72
Merge pull request #13 from adafruit/tannewt-patch-2
No longer include update scripts in the bundle
2018-03-05 18:32:38 -05:00
Scott Shawcroft
2dbfc78b38
No longer include update scripts in the bundle
They are out of date
2018-03-05 15:29:26 -08:00
Kattni
3a447602a7
Merge pull request #12 from adafruit/tannewt-patch-1
Update to the latest version numbers.
2018-03-05 17:04:22 -05:00
Scott Shawcroft
3fc9c1401a
Update to the latest version numbers. 2018-03-05 14:02:03 -08:00
Dan Halbert
75b8c5c216
Merge pull request #10 from tannewt/bump_2.x
Bump to 2.2.1
2018-02-01 11:51:45 -08:00
Dan Halbert
269ceaecc2
Merge pull request #11 from tannewt/ignore_docs_dir
Ignore docs directory and allow packages to drop __init__.py
2018-02-01 11:27:29 -08:00
Scott Shawcroft
fe27c65e2a Ignore docs directory and allow packages to drop __init__.py
Python 3.3 made __init__.py optional by adding "namespace packages"
and MicroPython supports them.
2018-01-31 11:31:11 -08:00
Scott Shawcroft
c2e97be3ce Bump to 2.2.1 2018-01-31 11:16:11 -08:00
Kattni
2e33769d8f
Merge pull request #9 from tannewt/bump_2.x
Bump the 2.x release to 2.2.0.
2018-01-04 20:20:29 -05:00
Scott Shawcroft
a761171cc2 Bump the 2.x release to 2.2.0. 2018-01-04 17:15:56 -08:00
Scott Shawcroft
34cb857217 Fail a multi-lib build when a submodule is missing a release. 2018-01-04 17:10:38 -08:00
Dan Halbert
a6489f95c9
Merge pull request #7 from tannewt/fix_common_case
Fix common case.
2017-12-26 22:56:22 -05:00
Scott Shawcroft
b95dadd177 Fix common case. 2017-12-26 13:33:19 -08:00
Dan Halbert
4f264c7c56
Merge pull request #5 from tannewt/fix_no_releases
Determine version even when no tags exist in the repo.
2017-12-26 15:39:54 -05:00
Dan Halbert
0684d8c793
Merge pull request #6 from tannewt/error_on_multipy
Raise an error when multiple top-level py files exist.
2017-12-26 15:38:39 -05:00
Scott Shawcroft
5ebe5d4173 Determine version even when no tags exist in the repo. 2017-12-26 12:30:41 -08:00
Scott Shawcroft
477a7f7b55 Raise an error when multiple top-level py files exist.
We used to attempt to create a package for the files but this will
change the import behavior only when bundled. Instead, the error
prompts the library author to fix it by combining the files or
creating a package.
2017-12-26 11:45:30 -08:00
Scott Shawcroft
f4c4e16c8d Factor out version replacement so its shared between individual
files and files in a package.

This fixes the bytes-like error that happens when trying to build
packages.
2017-12-21 11:41:26 -08:00
Dan Halbert
88731d5c80
Merge pull request #3 from tannewt/semver_versions
Add support for replacing placeholder version string with git tag
2017-12-20 18:04:24 -05:00
Scott Shawcroft
6dac14141a Add requirements. 2017-12-20 13:43:53 -08: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
Dan Halbert
073de8bdb6 include only relative library pathname in .mpy file 2017-12-18 15:08:10 -08:00
Scott Shawcroft
0ebd43007b Update pip package name used when determining version. 2017-12-06 14:45: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
afc8951686 Be specific in target versions and remove 1.x support. 2017-12-06 10:55:39 -08:00
Scott Shawcroft
3be916b8f0 Add setup details to the README. 2017-11-30 17:58:52 -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
96c40e2c1e fixup build_mpy_cross location 2017-11-30 12:02:51 -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