File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ include = [
2727name = " orjson"
2828crate-type = [" cdylib" ]
2929
30- [package .metadata .pyo3-pack ]
30+ [package .metadata .maturin ]
3131classifier = [
3232 " Development Status :: 5 - Production/Stable" ,
3333 " Intended Audience :: Developers" ,
Original file line number Diff line number Diff line change @@ -4,6 +4,6 @@ rm -f target/wheels/*
44
55export RUSTFLAGS=" -C target-feature=+sse2 $RUSTFLAGS "
66
7- pyo3-pack build --no-sdist -i python3 --release " $@ "
7+ maturin build --no-sdist -i python3 --release " $@ "
88
99pip install --force $( find target/wheels -name " *cp3*" )
Original file line number Diff line number Diff line change @@ -3,15 +3,13 @@ parameters:
33 target : ' '
44
55steps :
6- - bash : pip install --upgrade pip wheel pyo3-pack mypy twine
6+ - bash : pip install --upgrade pip wheel maturin mypy twine
77 displayName : build dependencies
8- - bash : pip install --upgrade --pre pyo3-pack
9- displayName : pyo3-pack beta
108- bash : pip install -r test/requirements.txt
119 displayName : test dependencies
1210- bash : pip install -r integration/requirements.txt
1311 displayName : integration dependencies
14- - bash : PATH=$HOME/.cargo/bin:$PATH RUSTFLAGS="-C target-feature=+sse2" pyo3-pack build --release --strip --interpreter $(interpreter) --target $(target)
12+ - bash : PATH=$HOME/.cargo/bin:$PATH RUSTFLAGS="-C target-feature=+sse2" maturin build --release --strip --interpreter $(interpreter) --target $(target)
1513 displayName : build
1614- bash : pip install target/wheels/orjson*.whl
1715 displayName : install
Original file line number Diff line number Diff line change @@ -3,15 +3,13 @@ parameters:
33 target : ' '
44
55steps :
6- - bash : pip install --upgrade pip wheel twine
6+ - bash : pip install --upgrade pip wheel twine maturin
77 displayName : build dependencies
8- - bash : pip install --upgrade --pre pyo3-pack
9- displayName : pyo3-pack beta
108- bash : pip install -r test/requirements.txt
119 displayName : test dependencies
1210- bash : pip install -r integration/requirements.txt
1311 displayName : integration dependencies
14- - bash : pyo3-pack sdist
12+ - bash : maturin sdist
1513 displayName : package sdist
1614- bash : pip install target/wheels/orjson*.tar.gz
1715 displayName : install
Original file line number Diff line number Diff line change @@ -10,13 +10,11 @@ steps:
1010 rustup default nightly
1111 echo "##vso[task.setvariable variable=PATH;]%PATH%;%USERPROFILE%\.cargo\bin"
1212 displayName : rustup
13- - script : python.exe -m pip install --upgrade pip wheel twine
13+ - script : python.exe -m pip install --upgrade pip wheel twine maturin
1414 displayName : build dependencies
15- - script : python.exe -m pip install --upgrade --pre pyo3-pack
16- displayName : pyo3-pack beta
1715- script : python.exe -m pip install -r test\requirements.txt
1816 displayName : test dependencies
19- - script : pyo3-pack .exe build --release --strip --interpreter $(interpreter) --target $(target)
17+ - script : maturin .exe build --release --strip --interpreter $(interpreter) --target $(target)
2018 env :
2119 RUSTFLAGS : " -C target-feature=+sse2"
2220 displayName : build
Original file line number Diff line number Diff line change 11[build-system ]
2- build-backend = " pyo3_pack "
3- requires = [" pyo3-pack >=0.7.0.beta11 ,<0.8" ]
2+ build-backend = " maturin "
3+ requires = [" maturin >=0.7.2 ,<0.8" ]
44
5- [tool .pyo3-pack ]
5+ [tool .maturin ]
66manylinux = " off"
77rustc-extra-args = " -C target-feature=+sse2"
88strip = " on"
You can’t perform that action at this time.
0 commit comments