1
0
mirror of https://github.com/JoelBender/modpypes synced 2025-10-26 21:49:19 +08:00

passes template tests in both py27 and py34

This commit is contained in:
Joel Bender
2015-09-08 22:42:35 -04:00
parent 2742badf46
commit a78012494d
7 changed files with 49 additions and 24 deletions

View File

@@ -1,6 +1,23 @@
#!/bin/bash
sudo python setup.py bdist_egg
sudo python setup.py bdist_wheel
twine upload dist/*
# remove everything in the current dist/ directory
[ -d dist ] && rm -Rfv dist
for ver in 2.7 3.4; do
python$ver setup.py bdist_egg
python$ver setup.py bdist_wheel
done
read -p "Upload to PyPI? [y/n/x] " yesno || exit 1
if [ "$yesno" = "y" ] ;
then
twine upload dist/*
elif [ "$yesno" = "n" ] ;
then
echo "Skipped..."
else
echo "exit..."
exit 1
fi