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

Add virtualenv_starter() #1411

Merged
merged 10 commits into from
Jul 10, 2023
Merged

Add virtualenv_starter() #1411

merged 10 commits into from
Jul 10, 2023

Conversation

t-kalinowski
Copy link
Member

@t-kalinowski t-kalinowski commented Jul 10, 2023

  • add virtualenv_starter(), which finds python binaries already installed on the system that are suitable for creating a venv with, optionally taking a version argument that can accept constraints like ">=3.9".
  • wire it up to virtualenv_create(version = ). E.g., On most machines, this should now either find a suitable python if it's already installed, or produce an informative error prompting the user to install python:
virtualenv_create("r-tensorflow", version = ">=3.9", packages = "tensorflow")

@t-kalinowski t-kalinowski force-pushed the virtualenv-starters branch 2 times, most recently from 530d1f6 to f3276b8 Compare July 10, 2023 17:33
@t-kalinowski t-kalinowski merged commit d911e4c into main Jul 10, 2023
12 checks passed
@t-kalinowski t-kalinowski deleted the virtualenv-starters branch August 25, 2023 15:41
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

Successfully merging this pull request may close these issues.

1 participant