adafruit / circuitpython-build-tools

Build scripts for CircuitPython libraries and the bundle
MIT License
28 stars 18 forks source link

Fix py build not using created temp file #115

Closed justmobilize closed 6 months ago

justmobilize commented 6 months ago

In the PR https://github.com/adafruit/circuitpython-build-tools/pull/101/files, the code in build.library was simplified, but in the case of the py file (not mpy) the original file was copied, not the temp file with the updated version

justmobilize commented 6 months ago

@dhalbert I only tested this locally with creating a single library and checking that the file had the correct version