Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitaa01381

Browse files
author
v.shepard
committed
PBCKP-601 add publish packages script
1 parent5d5084f commitaa01381

File tree

1 file changed

+6
-14
lines changed

1 file changed

+6
-14
lines changed

‎publish_package.sh

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,18 @@
44

55
set -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"
1811
export 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
2921
twine upload dist/*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp