indygreg / indygreg/PyOxidizer
Package from a Wheel
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 6.2k
- Forks
- 256
- PR merge metrics
- No merged PRs in 30d
Description
I have a large number of existing python projects, but I would need to make a significant time investment to get PyOxidizer to work in all the projects. I do however have them all generating wheels as part of my build pipeline.
Would it be possible to add some UX/UI tweaks to make (at least) simple, pure python projects work by just pointing the PyOxidizer to the wheel and telling it which console script to use as the default? Essentially stealing `shiv`'s CLI for simple things.
```bash
# for example, to package project `foo`
pyoxidizer --console-script foo --output-dir ./dist/ /path/to/some/foo-X.Y.Z-py3-none-any.whl
```
I know I can make a venv and then package from there but that always fails. Having a sure fire way that is known to work would be great specially if most python developers could utilize pre-exiting build artifacts.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no source files or tests. Start by tracing PyOxidizer's CLI entry point and its existing Python environment or package ingestion path, then check how a wheel and its console-script metadata could be handled. Done means a simple pure-Python wheel can be packaged by specifying the wheel and default console script, with coverage for the command-line workflow.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, rust
- Domain
- build-system, devtools
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100