mirror of https://github.com/icedland/iced.git
Update build file
This commit is contained in:
parent
a3aee3881e
commit
b17133f4f6
|
@ -15,16 +15,16 @@ python -m pip install -U setuptools wheel setuptools-rust pytest
|
|||
# from earlier builds
|
||||
git clean -xdf
|
||||
|
||||
cd src/rust/iced-x86-py
|
||||
|
||||
# Build the wheel with the minimum supported Python version only
|
||||
if python --version 2>&1 | grep "Python 3\.6"; then
|
||||
python setup.py bdist_wheel --py-limited-api=cp36
|
||||
|
||||
mkdir -p /tmp/py-dist
|
||||
cd src/rust/iced-x86-py
|
||||
cp dist/* /tmp/py-dist
|
||||
fi
|
||||
|
||||
echo "Testing it"
|
||||
python -m pip install iced-x86 --no-index -f dist --only-binary :all:
|
||||
python -m pip install iced-x86 --no-index -f /tmp/py-dist --only-binary :all:
|
||||
python -m pytest --color=yes --code-highlight=yes
|
||||
python -m pip uninstall -y iced-x86
|
||||
|
|
Loading…
Reference in New Issue