mirror of https://github.com/pypa/pip
build updates, set version to 0.3.1dev
This commit is contained in:
parent
d5b6bbeb3c
commit
0112cd7f79
|
@ -1,5 +1,5 @@
|
|||
recursive-include docs *.txt
|
||||
recursive-include docs *.html
|
||||
prune docs/_build *.txt
|
||||
prune docs/_build/_sources *.txt
|
||||
prune docs/_build _sources
|
||||
prune docs/_build/*.txt
|
||||
prune docs/_build/_sources/*.txt
|
||||
prune docs/_build/_sources
|
||||
|
|
|
@ -1,8 +1,14 @@
|
|||
#!/bin/sh
|
||||
|
||||
CMD="$1"
|
||||
if [ "$CMD" = "release" ] ; then
|
||||
python -c 'import setuptools; __file__="setup.py"; execfile(__file__)' register sdist upload
|
||||
CMD="publish"
|
||||
fi
|
||||
|
||||
mkdir -p docs/_static docs/_build
|
||||
sphinx-build -E -b html docs/ docs/_build || exit 1
|
||||
if [ "$1" = "publish" ] ; then
|
||||
if [ "$CMD" = "publish" ] ; then
|
||||
cd docs/_build
|
||||
echo "Uploading files..."
|
||||
tar czvf - . | ssh flow.openplans.org 'ssh acura.openplans.org "cd /www/pip.openplans.org/; tar xzvf -"'
|
||||
|
|
Loading…
Reference in New Issue