File tree Expand file tree Collapse file tree 2 files changed +0
-31
lines changed Expand file tree Collapse file tree 2 files changed +0
-31
lines changed Original file line number Diff line number Diff line change @@ -12,35 +12,14 @@ function error_exit
12
12
exit 1
13
13
}
14
14
15
- # make our directory to stash some python virtual environments
16
- if [ ! -d ${PLOTLY_VENV_DIR} ]; then
17
- mkdir ${PLOTLY_VENV_DIR}
18
- fi
19
-
20
15
# for each version we want, setup a functional virtual environment
21
16
for version in ${PLOTLY_PYTHON_VERSIONS[@]} ; do
22
17
echo Setting up Python ${version}
23
18
24
19
# exporting this variable (in this scope) chooses the python version
25
20
export PYENV_VERSION=${version}
26
-
27
21
echo " Using pyenv version $( pyenv version) "
28
22
29
- # # only create a pyvenv if it doesn't already exist
30
- # if [ ! -d ${PLOTLY_VENV_DIR}/${version} ]; then
31
- # virtualenv ${PLOTLY_VENV_DIR}/${version} ||
32
- # error_exit "${LINENO}: can't install virtualenv for ${version}"
33
- # fi
34
- #
35
- # # get rid of the current virtualenv if we're in one
36
- # if [ ${VIRTUAL_ENV} ]; then
37
- # deactivate
38
- # fi
39
-
40
- # # drop us into a virtualenv
41
- # source ${PLOTLY_VENV_DIR}/${version}/bin/activate ||
42
- # error_exit "${LINENO}: can't activate virtualenv for Python ${version}"
43
-
44
23
# install core requirements all versions need
45
24
pip install -r ${PLOTLY_CORE_REQUIREMENTS_FILE} ||
46
25
error_exit " ${LINENO} : can't install core reqs for Python ${version} "
Original file line number Diff line number Diff line change @@ -18,18 +18,8 @@ for version in ${PLOTLY_PYTHON_VERSIONS[@]}; do
18
18
19
19
# exporting this variable (in this scope) chooses the python version
20
20
export PYENV_VERSION=${version}
21
-
22
21
echo " Using pyenv version $( pyenv version) "
23
22
24
- # echo "get rid of the current virtualenv if we're in one"
25
- # if [ ${VIRTUAL_ENV} ]; then
26
- # deactivate
27
- # fi
28
- #
29
- # echo "drop us into a virtualenv"
30
- # source ${PLOTLY_VENV_DIR}/${version}/bin/activate ||
31
- # error_exit "${LINENO}: can't activate virtualenv for Python ${version}"
32
-
33
23
echo " install plotly (ignoring possibly cached versions)"
34
24
pip install -I ${PLOTLY_PACKAGE_ROOT} ||
35
25
error_exit " ${LINENO} : can't install plotly package from project root"
You can’t perform that action at this time.
0 commit comments