Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get package name from pyproject.toml, allow arbitrary files in packages #101

Merged
merged 5 commits into from
Dec 3, 2023

Commits on Nov 30, 2023

  1. Get package name from settings.toml, allow arbitrary files in packages

    This is more dependable, and when we know the package name we can
    glob inside it to get all files such as bin or ttf files.
    
    This will allow e.g., 5x8.bin & ov5640_autofocus.bin within
    bundles.
    
    the behavior of bundlefly and circup when encountering .bin files
    needs to be checked.
    
    Tested by building modified pycamera bundle and the autofocus.bin file
    appears in the generated zip files:
    ```
    pycamera-py-ec67bde/lib/adafruit_pycamera/ov5640_autofocus.bin 4077 4096
    pycamera-8.x-mpy-ec67bde/lib/adafruit_pycamera/ov5640_autofocus.bin 4077 4096
    pycamera-9.x-mpy-ec67bde/lib/adafruit_pycamera/ov5640_autofocus.bin 4077 4096
    ```
    
    There's at least one library in the bundle that has incorrect metadata
    and that leads to an error:
        adafruit/Adafruit_CircuitPython_Colorsys#29
    jepler committed Nov 30, 2023
    Configuration menu
    Copy the full SHA
    d8719e4 View commit details
    Browse the repository at this point in the history
  2. Restore behavior of shipping 0-byte py files as .py, not .mpy

    (it's smaller on disk)
    jepler committed Nov 30, 2023
    Configuration menu
    Copy the full SHA
    0c58704 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ca77986 View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2023

  1. typo

    jepler committed Dec 2, 2023
    Configuration menu
    Copy the full SHA
    373b256 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b51d905 View commit details
    Browse the repository at this point in the history