Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Scinawa opened this issue Feb 12, 2025 · 1 comment
Open

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

Scinawa opened this issue Feb 12, 2025 · 1 comment

Comments

@Scinawa
Copy link

Scinawa commented Feb 12, 2025

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.

@smsearcy
Copy link

Based on my limited experience, your first example is correct, it should be the full path to the site-packages folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants