Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5080f3e

Browse files
committed
remove virtualenv things
1 parent b8ffe66 commit 5080f3e

File tree

2 files changed

+0
-31
lines changed

2 files changed

+0
-31
lines changed

circle/setup.sh

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -12,35 +12,14 @@ function error_exit
1212
exit 1
1313
}
1414

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-
2015
# for each version we want, setup a functional virtual environment
2116
for version in ${PLOTLY_PYTHON_VERSIONS[@]}; do
2217
echo Setting up Python ${version}
2318

2419
# exporting this variable (in this scope) chooses the python version
2520
export PYENV_VERSION=${version}
26-
2721
echo "Using pyenv version $(pyenv version)"
2822

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-
4423
# install core requirements all versions need
4524
pip install -r ${PLOTLY_CORE_REQUIREMENTS_FILE} ||
4625
error_exit "${LINENO}: can't install core reqs for Python ${version}"

circle/test.sh

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,8 @@ for version in ${PLOTLY_PYTHON_VERSIONS[@]}; do
1818

1919
# exporting this variable (in this scope) chooses the python version
2020
export PYENV_VERSION=${version}
21-
2221
echo "Using pyenv version $(pyenv version)"
2322

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-
3323
echo "install plotly (ignoring possibly cached versions)"
3424
pip install -I ${PLOTLY_PACKAGE_ROOT} ||
3525
error_exit "${LINENO}: can't install plotly package from project root"

0 commit comments

Comments
 (0)