File tree Expand file tree Collapse file tree 1 file changed +6
-14
lines changed Expand file tree Collapse file tree 1 file changed +6
-14
lines changed Original file line number Diff line number Diff line change 44
55set -eux
66
7-
8- # choose python version
9- echo python version is $PYTHON_VERSION
10- VIRTUALENV=" virtualenv --python=/usr/bin/python$PYTHON_VERSION "
11- PIP=" pip$PYTHON_VERSION "
12-
13-
147# prepare environment
15- VENV_PATH=/tmp/testgres_venv
16- rm -rf $VENV_PATH
17- $VIRTUALENV $VENV_PATH
8+ venv_path=.venv
9+ rm -rf " $venv_path "
10+ virtualenv " $venv_path "
1811export VIRTUAL_ENV_DISABLE_PROMPT=1
19- source $VENV_PATH /bin/activate
12+ . " $venv_path " /bin/activate
2013
2114# install utilities
22- $PIP install setuptools twine
15+ pip3 install setuptools twine
2316
2417# create distribution of the package
25- alias python3=' python'
26- python setup.py sdist bdist_wheel
18+ python3 setup.py sdist bdist_wheel
2719
2820# upload dist
2921twine upload dist/*
You can’t perform that action at this time.
0 commit comments