oxvox 0.7.0__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,187 @@
1
+ # This file is autogenerated by maturin v1.8.3
2
+ # To update, run
3
+ #
4
+ # maturin generate-ci github
5
+ #
6
+ name: CI
7
+
8
+ on:
9
+ push:
10
+ branches:
11
+ - main
12
+ - master
13
+ tags:
14
+ - '*'
15
+ pull_request:
16
+ workflow_dispatch:
17
+
18
+ permissions:
19
+ contents: read
20
+
21
+ jobs:
22
+ linux:
23
+ runs-on: ${{ matrix.platform.runner }}
24
+ strategy:
25
+ matrix:
26
+ platform:
27
+ - runner: ubuntu-22.04
28
+ target: x86_64
29
+ - runner: ubuntu-22.04
30
+ target: x86
31
+ - runner: ubuntu-22.04
32
+ target: aarch64
33
+ - runner: ubuntu-22.04
34
+ target: armv7
35
+ - runner: ubuntu-22.04
36
+ target: s390x
37
+ - runner: ubuntu-22.04
38
+ target: ppc64le
39
+ steps:
40
+ - uses: actions/checkout@v4
41
+ - uses: actions/setup-python@v5
42
+ with:
43
+ python-version: 3.x
44
+ - name: Build wheels
45
+ uses: PyO3/maturin-action@v1
46
+ with:
47
+ target: ${{ matrix.platform.target }}
48
+ args: --release --out dist --find-interpreter
49
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
50
+ manylinux: auto
51
+ # TODO: install rustc and everything else needed to run tests (see examples from PyO3's GitHub)
52
+ # - name: Run tests
53
+ # run: |
54
+ # pip install maturin
55
+ # maturin develop
56
+ # make test
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 --find-interpreter
86
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
87
+ manylinux: musllinux_1_2
88
+ - name: Upload wheels
89
+ uses: actions/upload-artifact@v4
90
+ with:
91
+ name: wheels-musllinux-${{ matrix.platform.target }}
92
+ path: dist
93
+
94
+ windows:
95
+ runs-on: ${{ matrix.platform.runner }}
96
+ strategy:
97
+ matrix:
98
+ platform:
99
+ - runner: windows-latest
100
+ target: x64
101
+ - runner: windows-latest
102
+ target: x86
103
+ steps:
104
+ - uses: actions/checkout@v4
105
+ - uses: actions/setup-python@v5
106
+ with:
107
+ python-version: 3.x
108
+ architecture: ${{ matrix.platform.target }}
109
+ - name: Build wheels
110
+ uses: PyO3/maturin-action@v1
111
+ with:
112
+ target: ${{ matrix.platform.target }}
113
+ args: --release --out dist --find-interpreter
114
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
115
+ - name: Upload wheels
116
+ uses: actions/upload-artifact@v4
117
+ with:
118
+ name: wheels-windows-${{ matrix.platform.target }}
119
+ path: dist
120
+
121
+ macos:
122
+ runs-on: ${{ matrix.platform.runner }}
123
+ strategy:
124
+ matrix:
125
+ platform:
126
+ - runner: macos-13
127
+ target: x86_64
128
+ - runner: macos-14
129
+ target: aarch64
130
+ steps:
131
+ - uses: actions/checkout@v4
132
+ - uses: actions/setup-python@v5
133
+ with:
134
+ python-version: 3.x
135
+ - name: Build wheels
136
+ uses: PyO3/maturin-action@v1
137
+ with:
138
+ target: ${{ matrix.platform.target }}
139
+ args: --release --out dist --find-interpreter
140
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
141
+ - name: Upload wheels
142
+ uses: actions/upload-artifact@v4
143
+ with:
144
+ name: wheels-macos-${{ matrix.platform.target }}
145
+ path: dist
146
+
147
+ sdist:
148
+ runs-on: ubuntu-latest
149
+ steps:
150
+ - uses: actions/checkout@v4
151
+ - name: Build sdist
152
+ uses: PyO3/maturin-action@v1
153
+ with:
154
+ command: sdist
155
+ args: --out dist
156
+ - name: Upload sdist
157
+ uses: actions/upload-artifact@v4
158
+ with:
159
+ name: wheels-sdist
160
+ path: dist
161
+
162
+ release:
163
+ name: Release
164
+ runs-on: ubuntu-latest
165
+ if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
166
+ needs: [linux, musllinux, windows, macos, sdist]
167
+ permissions:
168
+ # Use to sign the release artifacts
169
+ id-token: write
170
+ # Used to upload release artifacts
171
+ contents: write
172
+ # Used to generate artifact attestation
173
+ attestations: write
174
+ steps:
175
+ - uses: actions/download-artifact@v4
176
+ - name: Generate artifact attestation
177
+ uses: actions/attest-build-provenance@v2
178
+ with:
179
+ subject-path: 'wheels-*/*'
180
+ - name: Publish to PyPI
181
+ if: ${{ startsWith(github.ref, 'refs/tags/') }}
182
+ uses: PyO3/maturin-action@v1
183
+ env:
184
+ MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
185
+ with:
186
+ command: upload
187
+ args: --non-interactive --skip-existing wheels-*/*
oxvox-0.7.0/.gitignore ADDED
@@ -0,0 +1,27 @@
1
+ # Generated by Cargo
2
+ # will have compiled files and executables
3
+ debug/
4
+ target/
5
+
6
+ # Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
7
+ # More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
8
+ Cargo.lock
9
+
10
+ # These are backup files generated by rustfmt
11
+ **/*.rs.bk
12
+
13
+ # MSVC Windows builds of rustc generate these, which store debugging information
14
+ *.pdb
15
+
16
+ # Emacs undo tree history files
17
+ *~undo-tree~
18
+
19
+ # Compiled binaries (e.g. by rustimport)
20
+ *.so
21
+
22
+ # Generated by pytest
23
+ .hypothesis
24
+
25
+ # Python cache
26
+ __pycache__
27
+ .vscode