Isolate apps from system site packages
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.9k
- Forks
- 114
- PR merge metrics
- No merged PRs in 30d
Description
Shiv includes system site packages in the Python path. Roughly the equivalent of virtualenv's [`--system-site-packages`](https://virtualenv.pypa.io/en/stable/userguide/#the-system-site-packages-option). In general (or at least for my uses) this is not desirable. Would you consider changing it to _not_ include other `site-packages` or adding a flag to toggle the behavior at build time?
Contributor guide
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 does not name specific files or tests; start by tracing how shiv constructs the Python path for generated zipapps and review the linked virtualenv system-site-packages behavior. Done means bundled applications no longer include system site-packages by default, or a build-time option clearly controls that behavior, with tests covering the chosen behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100