|
|
@ -8,14 +8,14 @@ chmod +x rustup-init |
|
|
|
source "$HOME/.cargo/env" |
|
|
|
source "$HOME/.cargo/env" |
|
|
|
export PATH="${PATH}:/opt/python/cp37-cp37m/bin:/opt/python/cp38-cp38/bin:/opt/python/cp39-cp39/bin:/opt/python/cp310-cp310/bin:/opt/python/cp311-cp311/bin" |
|
|
|
export PATH="${PATH}:/opt/python/cp37-cp37m/bin:/opt/python/cp38-cp38/bin:/opt/python/cp39-cp39/bin:/opt/python/cp310-cp310/bin:/opt/python/cp311-cp311/bin" |
|
|
|
cd python |
|
|
|
cd python |
|
|
|
python3.11 -m venv venv |
|
|
|
python3.12 -m venv venv |
|
|
|
source venv/bin/activate |
|
|
|
source venv/bin/activate |
|
|
|
pip install -r requirements.dev.txt |
|
|
|
pip install -r requirements.dev.txt |
|
|
|
maturin develop --release |
|
|
|
maturin develop --release |
|
|
|
python generate_stubs.py pyoxigraph pyoxigraph.pyi --black |
|
|
|
python generate_stubs.py pyoxigraph pyoxigraph.pyi --black |
|
|
|
maturin build --release --no-default-features --features abi3 --features rustls --compatibility manylinux2014 |
|
|
|
maturin build --release --no-default-features --features abi3 --features rustls --compatibility manylinux2014 |
|
|
|
if [ %for_each_version% ]; then |
|
|
|
if [ %for_each_version% ]; then |
|
|
|
for VERSION in 7 8 9 10 11; do |
|
|
|
for VERSION in 8 9 10 11 12; do |
|
|
|
maturin build --release --no-default-features --features rustls --interpreter "python3.$VERSION" --compatibility manylinux2014 |
|
|
|
maturin build --release --no-default-features --features rustls --interpreter "python3.$VERSION" --compatibility manylinux2014 |
|
|
|
done |
|
|
|
done |
|
|
|
fi |
|
|
|
fi |
|
|
|