changeset a8af841dae60 in tryton-tools:default
details: https://hg.tryton.org/tryton-tools?cmd=changeset;node=a8af841dae60
description:
Ensure to use python2 to build python2 wheel
diffstat:
do_major_release | 3 +++
do_minor_release | 5 ++++-
2 files changed, 7 insertions(+), 1 deletions(-)
diffs (29 lines):
diff -r 5d4af060f8e0 -r a8af841dae60 do_major_release
--- a/do_major_release Thu Jul 09 10:13:37 2020 +0100
+++ b/do_major_release Thu Aug 06 10:22:28 2020 +0200
@@ -61,6 +61,9 @@
echo "create sdist"
./setup.py sdist
if ./setup.py --classifiers | grep -q "Python :: 2"; then
+ echo "clean build"
+ python2 setup.py clean --all
+
echo "create python2 wheel"
python2 setup.py bdist_wheel
fi
diff -r 5d4af060f8e0 -r a8af841dae60 do_minor_release
--- a/do_minor_release Thu Jul 09 10:13:37 2020 +0100
+++ b/do_minor_release Thu Aug 06 10:22:28 2020 +0200
@@ -54,8 +54,11 @@
echo "create sdist"
./setup.py sdist
if ./setup.py --classifiers | grep -q "Python :: 2"; then
+ echo "clean build"
+ python2 setup.py clean --all
+
echo "create python2 wheel"
- python setup.py bdist_wheel
+ python2 setup.py bdist_wheel
fi
if ./setup.py --classifiers | grep -q "Python :: 3" ; then
echo "clean build"