Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Support virtual environment #578
Support virtual environment #578
Changes from all commits
69f08db
66eb069
0f80a51
f9f53e6
9be4dd7
31ef039
131369c
7866c93
d16a4d4
9dde9a8
7bb0d13
ef27d1d
83b5216
9fcdff7
8fe0cec
41a3107
6d47896
6699140
5e3d621
b517aa3
cc96a4b
e9a6c52
c56ec24
99ec542
923feb9
21f08b3
44beb7c
6a20a5f
5d50878
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't it sufficient to just run
python -E
to ignorePYTHON*
? Why do we need to removeCONDA*
since we are not runningconda
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I guess we don't want to ignore these variables for non-Conda Python.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pythonenv
is just moved frombuild.jl
todepsutils.jl
to make it usable at runtime.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like we should be using
sys.base_prefix
andsys.base_exec_prefix
instead ofsys.prefix
andsys.exec_prefix
to supportvenv
. With this change, this PR (accidentally) solves #410 as well. The reason is commented just below: 9dde9a8#diff-d16c3d4423fa5349bf01729c8beea4cdR90