]> git.phdru.name Git - sqlconvert.git/blob - devscripts/release
Build(release): Skip exiting files at PyPI
[sqlconvert.git] / devscripts / release
1 #! /bin/sh
2
3 cd "`dirname \"$0\"`"/.. &&
4 umask 022 &&
5 chmod -R a+rX . &&
6 set-commit-date.py &&
7
8 python setup.py build_py &&
9 python setup.py build --executable '/usr/bin/env python' &&
10 python setup.py sdist &&
11
12 find build -name '*.py[co]' -delete &&
13 python setup.py bdist_wheel --universal &&
14
15 twine upload --skip-existing dist/* &&
16 exec rm -rf build dist sqlconvert.egg-info