repairwheel
twine
repairwheel | twine | |
---|---|---|
3 | 17 | |
29 | 1,548 | |
- | 0.6% | |
7.1 | 8.7 | |
6 days ago | 6 days ago | |
Python | Python | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
repairwheel
-
Ask HN: What rabbit hole(s) did you dive into recently?
I got into cross-compiling Python wheels (e.g., building macos wheels on linux and vice versa). Zig's `zig cc` does much of the heavy lifting, but one step in building a portable wheel is the "repair" process which vends native library dependencies into the wheel, necessitating binary patching (auditwheel does this for linux, delocate for macos).
I wanted to be able to do this cross platform, so I re-implemented ELF patching and Mach-O patching and adhoc signing in Python, and wrapped them into a tool called repairwheel: https://github.com/jvolkman/repairwheel
-
Show HN: macOS-cross-compiler – Compile binaries for macOS on Linux
I'll plug some work I've been doing to (attempt to) enable cross compilation of Python wheels. I put together a small example [1] that builds the zstandard wheel, and can build macos wheels on linux and linux wheels on macos using zig cc.
macos wheels must still be adhoc signed (codesign) and binary patched (install_name_tool), so I re-implemented those functions in Python [2].
[1] https://github.com/jvolkman/bazel-pycross-zstandard-example
[2] https://github.com/jvolkman/repairwheel/tree/main/src/repair...
-
Sunday Daily Thread: What's everyone working on this week?
I mixed auditwheel, delocate, and delvewheel into a single tool called repairwheel and reimplemented all of the required external tools (patchelf, otool, codesign, etc.) in pure python.
twine
-
Private Python Packages With devpi
Twine is also an option if you'd rather stick with the traditional PyPi upload system. It does require an additional duplication of the keyring entry and a configuration file addition as well. First I'll create a $HOME\.pypirc file (make sure this is Powershell so $HOME expands properly) with the following contents:
-
Enforcement of 2FA for upload.pypi.org begins today
Does anyone here use the twine upload tool to seamlessly upload their builds to pypi? It's obvious that tool will now be broken, I'll go and check what solution they're offering!
- Twine is an open-source tool for telling interactive, nonlinear stories
-
We've all been there
edit: google is amazing: https://github.com/pypa/twine/issues/153
- When you stop caring.
- The curse of open source
-
Looking for a concise install, config, and use instruction for Twine on Linux
That's a different Twine, I believe this one.
- “I decided I don't care”
- what types of linux issues make you go like this? for me it's whenever i have to modify something in xorg.conf.d
- me when post game analysis say my move was an inaccuracy
What are some alternatives?
tensorflow-windows-wheel - Tensorflow prebuilt binary for Windows
inky - Combined library for V2/V3 Inky pHAT and Inky wHAT.
cibuildwheel - 🎡 Build Python wheels for all the platforms with minimal configuration.
py2exe - Create standalone Windows programs from Python code
Cradle - Play Twine stories in Unity.
ideas - :rocket: Ideas for everyone under a CC licence. Feel free to use. I'll send you a postcard if you build anything on this list.
vfxwindow - Python Qt Window class for compatibility between VFX programs
Json.NET - Json.NET is a popular high-performance JSON framework for .NET
pipewire - Mirror of the PipeWire repository (see https://gitlab.freedesktop.org/pipewire/pipewire/)
GoogleNews - Script for GoogleNews
tweego - Tweego is a free (gratis and libre) command line compiler for Twine/Twee story formats, written in Go.