@@ -23,6 +23,7 @@ classifiers = [
23
23
" Programming Language :: Python :: 3.10" ,
24
24
" Programming Language :: Python :: 3.11" ,
25
25
" Programming Language :: Python :: 3.12" ,
26
+ " Programming Language :: Python :: 3.13" ,
26
27
]
27
28
28
29
dependencies = []
@@ -83,24 +84,41 @@ ignore = [
83
84
]
84
85
85
86
[tool .cibuildwheel ]
86
- before-build = " rustup show "
87
+ before-build = " curl https://sh. rustup.rs -sSf | sh -s -- --default-toolchain=stable --profile=minimal -y "
87
88
build = " cp39-*"
88
89
skip = " *musllinux*"
89
90
test-command = " pytest -vvv {project}/python_template_rust/tests"
90
91
test-requires = [" pytest" , " pytest-cov" , " pytest-sugar" , " pytest-xdist" ]
91
92
92
93
[tool .cibuildwheel .linux ]
93
- before-build = " curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain=stable --profile=minimal -y && rustup show"
94
+ before-build = """
95
+ curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain=stable --profile=minimal -y
96
+ rustup target add aarch64-unknown-linux-gnu
97
+ rustup target add x86_64-unknown-linux-gnu
98
+ rustup show
99
+ """
94
100
environment = {PATH =" $HOME/.cargo/bin:$PATH" , CARGO_TERM_COLOR =" always" }
95
- archs = " x86_64"
101
+ archs = " x86_64 aarch64 "
96
102
97
103
[tool .cibuildwheel .macos ]
104
+ before-build = """
105
+ curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain=stable --profile=minimal -y
106
+ rustup target add aarch64-apple-darwin
107
+ rustup target add x86_64-apple-darwin
108
+ rustup show
109
+ """
110
+ environment = {PATH =" $HOME/.cargo/bin:$PATH" , CARGO_TERM_COLOR =" always" , MACOS_DEPLOYMENT_TARGET =11.0 }
98
111
archs = " x86_64 arm64"
99
- environment = {MACOS_DEPLOYMENT_TARGET =11.0 }
100
112
101
113
[tool .cibuildwheel .windows ]
102
- environment = {PATH =" $UserProfile\\ .cargo\b in;$PATH" }
103
- archs = " AMD64 x86"
114
+ before-build = """
115
+ curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain=stable --profile=minimal -y
116
+ rustup target add x86_64-pc-windows-msvc
117
+ rustup target add aarch64-pc-windows-msvc
118
+ rustup show
119
+ """
120
+ environment = {PATH =" $UserProfile\\ .cargo\b in;$PATH" , CARGO_TERM_COLOR =" always" }
121
+ archs = " AMD64 ARM64"
104
122
105
123
[tool .coverage .run ]
106
124
branch = true
0 commit comments