]> git.phdru.name Git - cookiecutter.git/blob - project_template/devscripts/release
Fix(mk-project): `sed` requires `s` for substitute
[cookiecutter.git] / project_template / 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 *.egg-info