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 4
4
5
5
set -eux
6
6
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
-
14
7
# 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 "
18
11
export VIRTUAL_ENV_DISABLE_PROMPT=1
19
- source $VENV_PATH /bin/activate
12
+ . " $venv_path " /bin/activate
20
13
21
14
# install utilities
22
- $PIP install setuptools twine
15
+ pip3 install setuptools twine
23
16
24
17
# create distribution of the package
25
- alias python3=' python'
26
- python setup.py sdist bdist_wheel
18
+ python3 setup.py sdist bdist_wheel
27
19
28
20
# upload dist
29
21
twine upload dist/*
You can’t perform that action at this time.
0 commit comments