[Assorted-commits] SF.net SVN: assorted: [806] shell-tools/trunk/src/bash-commons/assorted. bash
Brought to you by:
yangzhang
From: <yan...@us...> - 2008-05-13 22:43:08
|
Revision: 806 http://assorted.svn.sourceforge.net/assorted/?rev=806&view=rev Author: yangzhang Date: 2008-05-13 15:43:13 -0700 (Tue, 13 May 2008) Log Message: ----------- added error about missing ~/.pypirc Modified Paths: -------------- shell-tools/trunk/src/bash-commons/assorted.bash Modified: shell-tools/trunk/src/bash-commons/assorted.bash =================================================================== --- shell-tools/trunk/src/bash-commons/assorted.bash 2008-05-13 22:42:27 UTC (rev 805) +++ shell-tools/trunk/src/bash-commons/assorted.bash 2008-05-13 22:43:13 UTC (rev 806) @@ -278,6 +278,15 @@ file=$stagedir/$package.jar ;; pypi ) ( + [ -f ~/.pypirc ] || + die "$( cat << "EOF" +You should have a .pypirc file containing your credentials. E.g.: + +[server-login] +username:yang +password:your-pypi-password +EOF + )" cd $stagedir/$package-py ./setup.py register sdist bdist_egg upload ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |