Skip to content

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

@Scinawa

Description

@Scinawa

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions