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

Update version script#77

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
asavchkov merged 2 commits intomasterfrommaster-requirements
Apr 27, 2023
Merged
Changes from1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
PBCKP-601 add publish packages script
  • Loading branch information
v.shepard committedApr 24, 2023
commitaa013814d57a69f105a2f628259e5b7e7379acff
20 changes: 6 additions & 14 deletionspublish_package.sh
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -4,26 +4,18 @@

set -eux


# choose python version
echo python version is $PYTHON_VERSION
VIRTUALENV="virtualenv --python=/usr/bin/python$PYTHON_VERSION"
PIP="pip$PYTHON_VERSION"


# prepare environment
VENV_PATH=/tmp/testgres_venv
rm -rf$VENV_PATH
$VIRTUALENV $VENV_PATH
venv_path=.venv
rm -rf"$venv_path"
virtualenv "$venv_path"
export VIRTUAL_ENV_DISABLE_PROMPT=1
source $VENV_PATH/bin/activate
. "$venv_path"/bin/activate

# install utilities
$PIP install setuptools twine
pip3 install setuptools twine

# create distribution of the package
alias python3='python'
python setup.py sdist bdist_wheel
python3 setup.py sdist bdist_wheel

# upload dist
twine upload dist/*
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp