]> Repositories - Adafruit_Blinka-hackapet.git/commitdiff
don't upload bdist to pypi
authorBrendan <2bndy5@gmail.com>
Thu, 20 Jun 2024 22:19:45 +0000 (15:19 -0700)
committerBrendan <2bndy5@gmail.com>
Thu, 20 Jun 2024 22:19:45 +0000 (15:19 -0700)
In short, bdist (binary distributions) created from a pure python project are universal. They cannot be made to use a platform-specific tag (like linux, windows, macos, etc). This changes the release CI workflow to skip creating/uploading a bdist to PyPI.

This library has a number of dependencies conditionally required per *machine* attributes (like CPU type). But pip (or other python package managers) will not be aware of such conditional dependencies because a bdist do not invoke a dynamic resolution of machine-specific dependencies. Universal bdists only resolve platform-specific dependencies (python version, system OS, etc) which isn't sufficient for this library. Instead, this paradigm is better left to a sdist (source distribution) which carry dependency details per machine-specific attributes in the setup.py file.


No differences found