]> git.phdru.name Git - m_librarian.git/blobdiff - devscripts/release
Build(release): Skip exiting files at PyPI
[m_librarian.git] / devscripts / release
index 3076437cb63afd453feee146e82f60bd687f3565..829bf055112346b4ac985447f7f6c661dfc3e22c 100755 (executable)
@@ -9,17 +9,8 @@ python setup.py build_py &&
 python setup.py build --executable '/usr/bin/env python' &&
 python setup.py sdist &&
 
-for py in 2.7 3.4 3.5 3.6; do
-   find build -name '*.py[co]' -delete &&
-   python$py setup.py build_py &&
-   python$py setup.py build --executable '/usr/bin/env python' &&
-   python$py    -m compileall build &&
-   python$py -O -m compileall build &&
-   python$py setup.py bdist_egg || exit 1
-done
-
 find build -name '*.py[co]' -delete &&
 python setup.py bdist_wheel --universal &&
 
-twine upload dist/* &&
+twine upload --skip-existing dist/* &&
 exec rm -rf build dist m_librarian.egg-info