]> Repositories - Adafruit_Blinka-hackapet.git/commit
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)
commit252451e721b68894734a492b565728d4cb8317d0
tree662e825ddc17788699eefe059213d0f43f0cd212
parent768fe70bc01f529234998737d15975d7775684c9
don't upload bdist to pypi

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.
.github/workflows/release.yml