diff options
author | Eli Collins <elic@assurancetechnologies.com> | 2012-05-01 16:46:07 -0400 |
---|---|---|
committer | Eli Collins <elic@assurancetechnologies.com> | 2012-05-01 16:46:07 -0400 |
commit | 7b5c3f883a65e57dd5723b75da34059bea272909 (patch) | |
tree | f174fbbe90890fd9f1a95361b4ecc27314708d97 | |
parent | 48d69716185134bb72a4660725440022711c5f9f (diff) | |
download | passlib-7b5c3f883a65e57dd5723b75da34059bea272909.tar.gz |
tweaked release scripts - not pushing eggs again (at least until C extensions)
-rw-r--r-- | admin/gc_upload.sh | 13 | ||||
-rw-r--r-- | admin/pypi_upload.sh | 30 |
2 files changed, 37 insertions, 6 deletions
diff --git a/admin/gc_upload.sh b/admin/gc_upload.sh index a46863c..5ea78bf 100644 --- a/admin/gc_upload.sh +++ b/admin/gc_upload.sh @@ -8,18 +8,19 @@ VSTR=`python setup.py --for-release --version` cd dist CMD="googlecode_upload.py -p passlib -u $GC_USER -w $GC_PASSWD" -#CMD="echo >>> " TAIL="Release-${VSTR}" $CMD -l Featured,Type-Source,OpSys-All,$TAIL -s "Passlib ${VSTR} source distribution" passlib-${VSTR}.tar.gz $CMD -l Type-Signature-Source,$TAIL -s "Passlib ${VSTR} source distribution - PGP signature" passlib-${VSTR}.tar.gz.asc -for PV in 2.5 2.6 2.7 3.1 3.2 -do - $CMD -l Featured,Type-Egg,OpSys-All,$TAIL -s "Passlib ${VSTR} for python ${PV}" passlib-${VSTR}-py${PV}.egg - $CMD -l Type-Signature,$TAIL -s "Passlib ${VSTR} for python ${PV} - PGP signature" passlib-${VSTR}-py${PV}.egg.asc -done +##for PV in 2.5 2.6 2.7 3.1 3.2 +##do +## $CMD -l Featured,Type-Egg,OpSys-All,$TAIL -s "Passlib ${VSTR} for python ${PV}" passlib-${VSTR}-py${PV}.egg +## $CMD -l Type-Signature,$TAIL -s "Passlib ${VSTR} for python ${PV} - PGP signature" passlib-${VSTR}-py${PV}.egg.asc +##done $CMD -l Type-Docs,OpSys-All,$TAIL -s "Passlib ${VSTR} standalone documentation" passlib-docs-${VSTR}.zip $CMD -l Type-Signature-Docs,$TAIL -s "Passlib ${VSTR} standalone documentation - PGP signature" passlib-docs-${VSTR}.zip.asc + +cd .. diff --git a/admin/pypi_upload.sh b/admin/pypi_upload.sh new file mode 100644 index 0000000..12a9430 --- /dev/null +++ b/admin/pypi_upload.sh @@ -0,0 +1,30 @@ +#!/bin/sh + +# +# helper script to build release & upload to pypi +# TODO: integrate the gc_upload.sh script into here, +# add some checks for the env vars that are needed, +# and make it more failure-proof +# + +#TODO: run through all builds *first*, to make sure they work. +# re-clean, run pypi upload, gc upload + +# clean dir +rm -rf build dist + +# upload sdist +python setup.py --for-release sdist upload + +## upload eggs +##for PYEXT in 2.5 2.6 2.7 3.1 3.2 +##do +## python${PYEXT} setup.py --for-release bdist_egg upload +##done + +# upload docs to packages.python.org +PASSLIB_DOCS="for-pypi" python setup.py --for-release build_sphinx upload_docs + +# build & sign docdist for googlecode +python setup.py --for-release docdist +gpg --detach-sign -a dist/passlib-docs*.zip |