linkedin / linkedin/shiv

What is the right path for --site-packages?

Open
#272 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.9k
Forks
114
PR merge metrics
No merged PRs in 30d

Description

Dear developers,

I was wondering what is the right path to specify --site-packages. Is it the path of the virtualenvironment or the path of size-packages? Concretely, which one is correct?

- `shiv --site-packages .venv/lib/python3.11/site-packages/ --compressed -p '/usr/bin/env python3.11' -o executable-name -e path.to.main.py`
- `shiv --site-packages .venv/ --compressed -p '/usr/bin/env python3.11' -o executable-name -e path.to.main.py`

Thank you so much.

Contributor guide

Open the contributing guide

Research direction

Start with the two shiv command examples in the issue and inspect the --site-packages option's existing documentation or help text. Clarify which path form is supported and update the relevant CLI documentation if the current explanation is insufficient.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.