rust-geo-python 0.1.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,204 @@
1
+ # This file is autogenerated by maturin v1.9.4
2
+ # To update, run
3
+ #
4
+ # maturin generate-ci github
5
+ #
6
+ name: CI
7
+
8
+ on:
9
+ push:
10
+ branches:
11
+ - main
12
+ tags:
13
+ - '*'
14
+ pull_request:
15
+ workflow_dispatch:
16
+
17
+ permissions:
18
+ contents: read
19
+
20
+ jobs:
21
+ linux:
22
+ runs-on: ${{ matrix.platform.runner }}
23
+ strategy:
24
+ matrix:
25
+ platform:
26
+ - runner: ubuntu-22.04
27
+ target: x86_64
28
+ - runner: ubuntu-22.04
29
+ target: x86
30
+ - runner: ubuntu-22.04
31
+ target: aarch64
32
+ - runner: ubuntu-22.04
33
+ target: armv7
34
+ - runner: ubuntu-22.04
35
+ target: s390x
36
+ - runner: ubuntu-22.04
37
+ target: ppc64le
38
+ steps:
39
+ - uses: actions/checkout@v4
40
+ - uses: actions/setup-python@v5
41
+ with:
42
+ python-version: 3.x
43
+ - name: Build wheels
44
+ uses: PyO3/maturin-action@v1
45
+ with:
46
+ target: ${{ matrix.platform.target }}
47
+ args: --release --out dist
48
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
49
+ manylinux: auto
50
+ - name: Build free-threaded wheels
51
+ uses: PyO3/maturin-action@v1
52
+ with:
53
+ target: ${{ matrix.platform.target }}
54
+ args: --release --out dist -i python3.13t
55
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
56
+ manylinux: auto
57
+ - name: Upload wheels
58
+ uses: actions/upload-artifact@v4
59
+ with:
60
+ name: wheels-linux-${{ matrix.platform.target }}
61
+ path: dist
62
+
63
+ musllinux:
64
+ runs-on: ${{ matrix.platform.runner }}
65
+ strategy:
66
+ matrix:
67
+ platform:
68
+ - runner: ubuntu-22.04
69
+ target: x86_64
70
+ - runner: ubuntu-22.04
71
+ target: x86
72
+ - runner: ubuntu-22.04
73
+ target: aarch64
74
+ - runner: ubuntu-22.04
75
+ target: armv7
76
+ steps:
77
+ - uses: actions/checkout@v4
78
+ - uses: actions/setup-python@v5
79
+ with:
80
+ python-version: 3.x
81
+ - name: Build wheels
82
+ uses: PyO3/maturin-action@v1
83
+ with:
84
+ target: ${{ matrix.platform.target }}
85
+ args: --release --out dist
86
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
87
+ manylinux: musllinux_1_2
88
+ - name: Build free-threaded wheels
89
+ uses: PyO3/maturin-action@v1
90
+ with:
91
+ target: ${{ matrix.platform.target }}
92
+ args: --release --out dist -i python3.13t
93
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
94
+ manylinux: musllinux_1_2
95
+ - name: Upload wheels
96
+ uses: actions/upload-artifact@v4
97
+ with:
98
+ name: wheels-musllinux-${{ matrix.platform.target }}
99
+ path: dist
100
+
101
+ windows:
102
+ runs-on: ${{ matrix.platform.runner }}
103
+ strategy:
104
+ matrix:
105
+ platform:
106
+ - runner: windows-latest
107
+ target: x64
108
+ - runner: windows-latest
109
+ target: x86
110
+ steps:
111
+ - uses: actions/checkout@v4
112
+ - uses: actions/setup-python@v5
113
+ with:
114
+ python-version: 3.x
115
+ architecture: ${{ matrix.platform.target }}
116
+ - name: Build wheels
117
+ uses: PyO3/maturin-action@v1
118
+ with:
119
+ target: ${{ matrix.platform.target }}
120
+ args: --release --out dist
121
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
122
+ - uses: actions/setup-python@v5
123
+ with:
124
+ python-version: 3.13t
125
+ architecture: ${{ matrix.platform.target }}
126
+ - name: Build free-threaded wheels
127
+ uses: PyO3/maturin-action@v1
128
+ with:
129
+ target: ${{ matrix.platform.target }}
130
+ args: --release --out dist -i python3.13t
131
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
132
+ - name: Upload wheels
133
+ uses: actions/upload-artifact@v4
134
+ with:
135
+ name: wheels-windows-${{ matrix.platform.target }}
136
+ path: dist
137
+
138
+ macos:
139
+ runs-on: ${{ matrix.platform.runner }}
140
+ strategy:
141
+ matrix:
142
+ platform:
143
+ - runner: macos-15
144
+ target: x86_64
145
+ - runner: macos-14
146
+ target: aarch64
147
+ steps:
148
+ - uses: actions/checkout@v4
149
+ - uses: actions/setup-python@v5
150
+ with:
151
+ python-version: 3.x
152
+ - name: Build wheels
153
+ uses: PyO3/maturin-action@v1
154
+ with:
155
+ target: ${{ matrix.platform.target }}
156
+ args: --release --out dist
157
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
158
+ - name: Build free-threaded wheels
159
+ uses: PyO3/maturin-action@v1
160
+ with:
161
+ target: ${{ matrix.platform.target }}
162
+ args: --release --out dist -i python3.13t
163
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
164
+ - name: Upload wheels
165
+ uses: actions/upload-artifact@v4
166
+ with:
167
+ name: wheels-macos-${{ matrix.platform.target }}
168
+ path: dist
169
+
170
+ sdist:
171
+ runs-on: ubuntu-latest
172
+ steps:
173
+ - uses: actions/checkout@v4
174
+ - name: Build sdist
175
+ uses: PyO3/maturin-action@v1
176
+ with:
177
+ command: sdist
178
+ args: --out dist
179
+ - name: Upload sdist
180
+ uses: actions/upload-artifact@v4
181
+ with:
182
+ name: wheels-sdist
183
+ path: dist
184
+
185
+ release:
186
+ name: Release
187
+ runs-on: ubuntu-latest
188
+ environment: release
189
+ #if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
190
+ needs: [linux, musllinux, windows, macos, sdist]
191
+ permissions:
192
+ # Use to sign the release artifacts
193
+ id-token: write
194
+ # Used to upload release artifacts
195
+ contents: write
196
+ steps:
197
+ - uses: actions/download-artifact@v4
198
+ - name: Publish to PyPI
199
+ #if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
200
+ uses: PyO3/maturin-action@v1
201
+ with:
202
+ command: upload
203
+ args: --non-interactive --skip-existing wheels-*/*
204
+
@@ -0,0 +1,5 @@
1
+ target/
2
+ Cargo.lock
3
+ .idea/
4
+ *.py
5
+ !Cargo.toml