From: Oleg Broytman Date: Sun, 15 Dec 2024 11:24:25 +0000 (+0300) Subject: Build(devscripts/release): PEP 625 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=502e0d11a25cf4ffc99dc84b1ebe98bb4b1cf2ae;p=m_lib.full.git Build(devscripts/release): PEP 625 --- diff --git a/devscripts/release b/devscripts/release index d94c27f..23b27dc 100755 --- a/devscripts/release +++ b/devscripts/release @@ -9,6 +9,13 @@ python setup.py build_py && python setup.py build && python setup.py sdist && +rv=$(python setup.py --version) +if [ -f dist/m_lib.full-$rv.tar.gz ]; then + cd dist && + mv m_lib.full-$rv.tar.gz m_lib_full-$rv.tar.gz && + cd .. +fi && + find build -name '*.py[co]' -delete && python setup.py bdist_wheel --universal &&