Request: Package standalone binaries in Python Wheels on PyPI #15534
nathanscain
started this conversation in
Ideas
Replies: 1 comment
-
Basically, I want to be able to [dependency-groups]
dev = [
"tailwindcss >= 3.4.17",
…
] Then I’d be able to simply use Also would allow |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was looking at how I would integrate tailwindcss into a python project (not Django) as a development dependency. I found a third party package that downloaded the standalone binaries, but it requires using its own method of selecting a tailwind version via environment variables.
It would be preferred to have tailwindcss produce first-party wheels and publish them to PyPI as part of the release process so that devs can add it as a development dependency with a properly defined and optionally locked version.
In theory, this involves creating a zip file for each target and adding the binary to it alongside some metadata from other project files. I’m not sure if any tooling / build-backend has been created for node.js projects, but the wheel spec is standardized: https://packaging.python.org/en/latest/specifications/binary-distribution-format/#binary-distribution-format
Beta Was this translation helpful? Give feedback.
All reactions