Skip to content

Commit c48e93f

Browse files
author
rocky
committed
Merge branch 'master' of github.com:rocky/x-python
2 parents 0ff4e7e + 6e6dac8 commit c48e93f

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

admin-tools/make-dist.sh

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,15 @@ cd $(dirname ${BASH_SOURCE[0]})
1010
owd=$(pwd)
1111
trap finish EXIT
1212

13-
if ! source ./pyenv-versions ; then
13+
if ! source ./pyenv-newest-versions ; then
1414
exit $?
1515
fi
1616

1717
cd ..
18-
source xpython/version.py
19-
echo $VERSION
18+
# Until version.py is fixed...
19+
__version=1.4.0
20+
# source xpython/version.py
21+
echo $__version__
2022

2123
for pyversion in $PYVERSIONS; do
2224
if ! pyenv local $pyversion ; then
@@ -29,7 +31,7 @@ for pyversion in $PYVERSIONS; do
2931
first_two=$(echo $pyversion | cut -d'.' -f 1-2 | sed -e 's/\.//')
3032
rm -fr build
3133
python setup.py bdist_egg bdist_wheel
32-
mv -v dist/${PACKAGE}-$VERSION-{py2.py3,py$first_two}-none-any.whl
34+
mv -v dist/${PACKAGE}-$__version__-{py3,py$first_two}-none-any.whl
3335
done
3436

3537
python ./setup.py sdist

0 commit comments

Comments
 (0)