Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fengzch-das
multibuild
Commits
bdc0a630
Commit
bdc0a630
authored
Aug 12, 2017
by
Matthew Brett
Browse files
Use virtualenv activate for setting path
Use proper activate sourcing for virtualenv
parent
178cf9e5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
osx_utils.sh
osx_utils.sh
+5
-1
No files found.
osx_utils.sh
View file @
bdc0a630
...
@@ -260,6 +260,7 @@ function remove_travis_ve_pip {
...
@@ -260,6 +260,7 @@ function remove_travis_ve_pip {
}
}
function
set_py_vars
{
function
set_py_vars
{
# Used by terryfy project; left here for back-compatibility
export
PATH
=
"
`
dirname
$PYTHON_EXE
`
:
$PATH
"
export
PATH
=
"
`
dirname
$PYTHON_EXE
`
:
$PATH
"
export
PYTHON_EXE PIP_CMD
export
PYTHON_EXE PIP_CMD
}
}
...
@@ -286,8 +287,11 @@ function get_macpython_environment {
...
@@ -286,8 +287,11 @@ function get_macpython_environment {
if
[
-n
"
$venv_dir
"
]
;
then
if
[
-n
"
$venv_dir
"
]
;
then
install_virtualenv
install_virtualenv
make_workon_venv
$venv_dir
make_workon_venv
$venv_dir
source
$venv_dir
/bin/activate
else
export
PATH
=
"
`
dirname
$PYTHON_EXE
`
:
$PATH
"
fi
fi
set_py_vars
export
PYTHON_EXE PIP_CMD
}
}
function
repair_wheelhouse
{
function
repair_wheelhouse
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment