summaryrefslogtreecommitdiff
path: root/admin
diff options
context:
space:
mode:
authorEli Collins <elic@assurancetechnologies.com>2016-11-22 23:36:42 -0500
committerEli Collins <elic@assurancetechnologies.com>2016-11-22 23:36:42 -0500
commit5c6cc85b4db476241067f444b4f76b0db0dbbd5e (patch)
tree31f912a4f561d9fd9b21f852b42b7217c09abb22 /admin
parentc4db41c3bd55fbd060c9b4a50929082f9a4cbddb (diff)
downloadpasslib-5c6cc85b4db476241067f444b4f76b0db0dbbd5e.tar.gz
setup: refresh of build scripts, updated version stamping procedure
Diffstat (limited to 'admin')
-rwxr-xr-xadmin/upload.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/admin/upload.sh b/admin/upload.sh
index d8f6e71..6d1dfda 100755
--- a/admin/upload.sh
+++ b/admin/upload.sh
@@ -10,6 +10,8 @@ SEP2="-----------------------------------------------------"
# init config
#
+export PASSLIB_SETUP_TAG_RELEASE=no
+
if [ -z "$DRY_RUN" ]; then
echo "DRY_RUN not set"
exit 1
@@ -23,7 +25,7 @@ else
UPLOAD_DOCS_ARG="upload_docs"
fi
-VSTR=`python setup.py --for-release --version`
+VSTR=`python setup.py --version`
VTAIL="Release-${VSTR}"
echo "$SEP1"
@@ -41,11 +43,11 @@ if [ -z "$SKIP_PYPI" ]; then
# upload source
echo "\n$SEP1\nbuilding and uploading source to pypi\n$SEP2"
- python setup.py --for-release sdist bdist_wheel $UPLOAD_ARG
+ python setup.py sdist bdist_wheel $UPLOAD_ARG
# upload docs
echo "\n$SEP1\nbuilding and uploading docs to pypi\n$SEP2"
- PASSLIB_DOCS="for-pypi" python setup.py --for-release build_sphinx $UPLOAD_DOCS_ARG
+ PASSLIB_DOCS="for-pypi" python setup.py build_sphinx $UPLOAD_DOCS_ARG
fi