Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 63cb3b3c31
Fetching contributors…

Cannot retrieve contributors at this time

executable file 17 lines (13 sloc) 0.491 kb
#!/bin/bash
echo "Please don't run this as a user. This generates a new release for PyPI. Press ^C to exit or Enter to continue."
read
if ! python ./testsuite.py && [ "$IGNORE_TEST" != "yes" ]; then
echo "The test suite failed. Fix it!"
exit 1
fi
# Clear old distutils stuff
rm -rf build dist MANIFEST &> /dev/null
# Re-generate site constants
python _genconsts.py > stackexchange/sites.py
# Build installers, etc. and upload to PyPI
python setup.py register sdist bdist_wininst upload
Jump to Line
Something went wrong with that request. Please try again.