repairwheel
py2exe
repairwheel | py2exe | |
---|---|---|
3 | 27 | |
27 | 760 | |
- | 2.6% | |
8.1 | 5.3 | |
3 months ago | 7 months ago | |
Python | Python | |
MIT License | GNU General Public License v3.0 or later |
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.
py2exe
-
Problems installing py2exe
See this GitHub issue to follow the relevant discussion and development.
-
Desktop Application Development in 2023
There are ways to bundle Python with your application using something like py2exe
- Unpopular Opinion
- I have a few questions
-
How can I learn more about how to share the programs I've written with other people?
Then you can turn the python program to an actual executable, a normal .exe file that user just launches and uses. If you chose to use this way, look into PyInstaller or py2exe. The executables will be obviously bigger, I think at least PyInstaller pretty much just packages Python and your script into .exe to make it work, so every program would be quite big (as each program has its own Python packaged). I also heard the process of turning the scripts to .exe is sometimes a bit problematic if you use some fancy imports and you also might run into problems with architecture.
- How come I was able to successfully download a vid with Stacher, even though I don't have Python installed?
-
Should you write malware in C# or C++?
*fyi, you can use a tool like py2exe or PyInstaller to convert Python scripts into a Windows Executable.
- Am I crazy to use python for the simple-ish core game, expose data via Flask, UI via React, and Electron to make the executable??
- Blöde Frage, kann jedes Programm jeder Programmiersprache in eine exe gewandelt werden die dann auch auf jedem computer läuft?
-
Process to convert simple Python script into Windows executable [duplicate]
py2exe
What are some alternatives?
tensorflow-windows-wheel - Tensorflow prebuilt binary for Windows
PyInstaller - Freeze (package) Python programs into stand-alone executables
cibuildwheel - 🎡 Build Python wheels for all the platforms with minimal configuration.
psgcompiler - A simple, easy to use tool that is a front-end to PyInstaller created with PySimpleGUI to convert your Python programs to executables.
twine - Utilities for interacting with PyPI
fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production
generic-python-docker - An example repo for a generic, dockerized Python project
Cython - The most widely used Python to C compiler
FUZIX - FuzixOS: Because Small Is Beautiful
Gooey - Turn (almost) any Python command line program into a full GUI application with one line
Django - The Web framework for perfectionists with deadlines.
installer - A low-level library for installing from a Python wheel distribution.