Skip to content

Support custom VIRTUAL_ENV for layout_python#876

Merged
zimbatm merged 9 commits intodirenv:masterfrom
kon72:custom-virtual-env
Jun 15, 2022
Merged

Support custom VIRTUAL_ENV for layout_python#876
zimbatm merged 9 commits intodirenv:masterfrom
kon72:custom-virtual-env

Conversation

@kon72
Copy link
Copy Markdown
Contributor

@kon72 kon72 commented Jan 4, 2022

This PR allows users to specify VIRTUAL_ENV environment variable for layout_python and layout_pyenv.
The behavior is along with the wiki page.
Usage:

export VIRTUAL_ENV=.venv
layout pyenv 3.10.1

Fix #616

@zimbatm
Copy link
Copy Markdown
Member

zimbatm commented Jan 6, 2022

Do you mind adding some tests as well? The function is getting pretty large and I am not confident it will work in all scenarios.

@kon72
Copy link
Copy Markdown
Contributor Author

kon72 commented Jan 7, 2022

Thank you for the reply. I will try that.

@PhilipVinc
Copy link
Copy Markdown

bump
this would be nice

@zimbatm
Copy link
Copy Markdown
Member

zimbatm commented May 11, 2022

the macOS CI is failing. It looks like venv is missing there?

@kon72 kon72 marked this pull request as draft June 13, 2022 20:23
@kon72 kon72 marked this pull request as ready for review June 13, 2022 21:30
@kon72
Copy link
Copy Markdown
Contributor Author

kon72 commented Jun 13, 2022

Seems to be fixed now. Can you run CI again?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Support VIRTUAL_ENV in layout_pyvenv

3 participants