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

virtualenv optimizations #436

Open
tiran opened this issue Sep 20, 2024 · 0 comments
Open

virtualenv optimizations #436

tiran opened this issue Sep 20, 2024 · 0 comments

Comments

@tiran
Copy link
Collaborator

tiran commented Sep 20, 2024

The virtualenv CLI has some options and feature to speed up virtual env creation

  • --symlink-app-data installs seed packages by symlinking them from a shared cache
  • --extra-search-dir adds directories that are searched for wheels.
  • --setuptools=bundle and - --wheel=bundle forces installation of setuptools and wheel package from the virtualenv bundle. Virtualenv no longer installs setuptools and wheel for Python 3.12+
  • env var PIP_INDEX_URL to set a different index server for downloads.
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

1 participant