Skip to content

Commit

Permalink
update for mpy-cross v6.2
Browse files Browse the repository at this point in the history
- New package name/module name/etc.
- Update micropython submodule to v1.22.
  • Loading branch information
dlech committed May 4, 2024
1 parent a3eaf08 commit 7312e25
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ name: Build and upload to PyPI
on:
push:
branches:
- mpy-cross-v6.1
- mpy-cross-v6.2
tags:
- mpy-cross-v6.1/*
- mpy-cross-v6.2/*
pull_request:
branches:
- mpy-cross-v6.1
- mpy-cross-v6.2

jobs:
build_wheels:
Expand Down
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[submodule "micropython"]
path = micropython
url = https://github.com/pybricks/micropython.git
branch = python-mpy-cross-v6.1
branch = python-mpy-cross-v6.2
4 changes: 2 additions & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ recursive-include micropython py/** mpy-cross/** shared/** tools/**
include micropython/docs/conf.py
prune micropython/mpy-cross/build*
prune micropython/ports*
exclude src/mpy_cross_v6.1/mpy-cross*
prune src/mpy_cross_v6.1.egg-info
exclude src/mpy_cross_v6.2/mpy-cross*
prune src/mpy_cross_v6.2.egg-info
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ For MicroPython 1.19:

pip install mpy-cross-v6

For MicroPython 1.20+:
For MicroPython 1.20 to 1.21:

pip install mpy-cross-v6.1

For MicroPython 1.22:

pip install mpy-cross-v6.2
2 changes: 1 addition & 1 deletion micropython
Submodule micropython updated 2807 files
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "mpy-cross-v6.1"
version = "1.0.1"
name = "mpy-cross-v6.2"
version = "1.0.0"
description = "Python wrapper for the mpy-cross tool from MicroPython."
readme = "README.md"

[project.scripts]
"mpy-cross-v6.1" = "mpy_cross_v6_1:_run"
"mpy-cross-v6.2" = "mpy_cross_v6_2:_run"

[tool.setuptools.packages.find]
where = ["src"]
Expand Down

0 comments on commit 7312e25

Please sign in to comment.