blob: 0b3a2ce6beaf5b0913ca4ef34f84bd85beeb8660 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#!/bin/sh
# build wheel in each virtual environment
PATH2SRC=$(pwd)/../../../docutils
TESTDIR=$(pwd)
# python2.7 -m virtualenv py2.7
for VDIR in ./py3.* ; do
echo "$VDIR"
echo "=========="
cd $VDIR
export PYTHONPATH= ; . bin/activate
cd $PATH2SRC
find . -type f -name "*.pyc" -delete
rm -r dist
rm -r build
export PYTHONWARNINGS=default
python setup.py bdist_wheel --universal
deactivate
cd $TESTDIR
mv $PATH2SRC/dist $VDIR
done
|