rustypot 0.1.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,178 @@
1
+ # This file is autogenerated by maturin v1.8.2
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
+ - ci
14
+ tags:
15
+ - '*'
16
+ pull_request:
17
+ workflow_dispatch:
18
+
19
+ permissions:
20
+ contents: read
21
+
22
+ jobs:
23
+ linux:
24
+ runs-on: ${{ matrix.platform.runner }}
25
+ strategy:
26
+ matrix:
27
+ platform:
28
+ - runner: ubuntu-latest
29
+ target: x86_64
30
+ - runner: ubuntu-latest
31
+ target: x86
32
+ - runner: ubuntu-latest
33
+ target: armv7
34
+ - runner: ubuntu-latest
35
+ target: aarch64
36
+ steps:
37
+ - uses: actions/checkout@v4
38
+ - uses: actions/setup-python@v5
39
+ with:
40
+ python-version: 3.x
41
+ - name: Build wheels
42
+ uses: PyO3/maturin-action@v1
43
+ with:
44
+ target: ${{ matrix.platform.target }}
45
+ args: --release --out dist --find-interpreter
46
+ manylinux: auto
47
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
48
+ - name: Upload wheels
49
+ uses: actions/upload-artifact@v4
50
+ with:
51
+ name: wheels-linux-${{ matrix.platform.target }}
52
+ path: dist
53
+
54
+ musllinux:
55
+ runs-on: ${{ matrix.platform.runner }}
56
+ strategy:
57
+ matrix:
58
+ platform:
59
+ - runner: ubuntu-22.04
60
+ target: x86_64
61
+ - runner: ubuntu-22.04
62
+ target: x86
63
+ - runner: ubuntu-22.04
64
+ target: aarch64
65
+ - runner: ubuntu-22.04
66
+ target: armv7
67
+ steps:
68
+ - uses: actions/checkout@v4
69
+ - uses: actions/setup-python@v5
70
+ with:
71
+ python-version: 3.x
72
+ - name: Build wheels
73
+ uses: PyO3/maturin-action@v1
74
+ with:
75
+ target: ${{ matrix.platform.target }}
76
+ args: --release --out dist --find-interpreter
77
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
78
+ manylinux: musllinux_1_2
79
+ - name: Upload wheels
80
+ uses: actions/upload-artifact@v4
81
+ with:
82
+ name: wheels-musllinux-${{ matrix.platform.target }}
83
+ path: dist
84
+
85
+ windows:
86
+ runs-on: ${{ matrix.platform.runner }}
87
+ strategy:
88
+ matrix:
89
+ platform:
90
+ - runner: windows-latest
91
+ target: x64
92
+ - runner: windows-latest
93
+ target: x86
94
+ steps:
95
+ - uses: actions/checkout@v4
96
+ - uses: actions/setup-python@v5
97
+ with:
98
+ python-version: 3.x
99
+ architecture: ${{ matrix.platform.target }}
100
+ - name: Build wheels
101
+ uses: PyO3/maturin-action@v1
102
+ with:
103
+ target: ${{ matrix.platform.target }}
104
+ args: --release --out dist --find-interpreter
105
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
106
+ - name: Upload wheels
107
+ uses: actions/upload-artifact@v4
108
+ with:
109
+ name: wheels-windows-${{ matrix.platform.target }}
110
+ path: dist
111
+
112
+ macos:
113
+ runs-on: ${{ matrix.platform.runner }}
114
+ strategy:
115
+ matrix:
116
+ platform:
117
+ - runner: macos-13
118
+ target: x86_64
119
+ - runner: macos-14
120
+ target: aarch64
121
+ steps:
122
+ - uses: actions/checkout@v4
123
+ - uses: actions/setup-python@v5
124
+ with:
125
+ python-version: 3.x
126
+ - name: Build wheels
127
+ uses: PyO3/maturin-action@v1
128
+ with:
129
+ target: ${{ matrix.platform.target }}
130
+ args: --release --out dist --find-interpreter
131
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
132
+ - name: Upload wheels
133
+ uses: actions/upload-artifact@v4
134
+ with:
135
+ name: wheels-macos-${{ matrix.platform.target }}
136
+ path: dist
137
+
138
+ sdist:
139
+ runs-on: ubuntu-latest
140
+ steps:
141
+ - uses: actions/checkout@v4
142
+ - name: Build sdist
143
+ uses: PyO3/maturin-action@v1
144
+ with:
145
+ command: sdist
146
+ args: --out dist
147
+ - name: Upload sdist
148
+ uses: actions/upload-artifact@v4
149
+ with:
150
+ name: wheels-sdist
151
+ path: dist
152
+
153
+ release:
154
+ name: Release
155
+ runs-on: ubuntu-latest
156
+ if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
157
+ needs: [linux, musllinux, windows, macos, sdist]
158
+ permissions:
159
+ # Use to sign the release artifacts
160
+ id-token: write
161
+ # Used to upload release artifacts
162
+ contents: write
163
+ # Used to generate artifact attestation
164
+ attestations: write
165
+ steps:
166
+ - uses: actions/download-artifact@v4
167
+ - name: Generate artifact attestation
168
+ uses: actions/attest-build-provenance@v1
169
+ with:
170
+ subject-path: 'wheels-*/*'
171
+ - name: Publish to PyPI
172
+ if: ${{ startsWith(github.ref, 'refs/tags/') }}
173
+ uses: PyO3/maturin-action@v1
174
+ env:
175
+ MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
176
+ with:
177
+ command: upload
178
+ args: --non-interactive --skip-existing wheels-*/*
@@ -0,0 +1,72 @@
1
+ /target
2
+
3
+ # Byte-compiled / optimized / DLL files
4
+ __pycache__/
5
+ .pytest_cache/
6
+ *.py[cod]
7
+
8
+ # C extensions
9
+ *.so
10
+
11
+ # Distribution / packaging
12
+ .Python
13
+ .venv/
14
+ env/
15
+ bin/
16
+ build/
17
+ develop-eggs/
18
+ dist/
19
+ eggs/
20
+ lib/
21
+ lib64/
22
+ parts/
23
+ sdist/
24
+ var/
25
+ include/
26
+ man/
27
+ venv/
28
+ *.egg-info/
29
+ .installed.cfg
30
+ *.egg
31
+
32
+ # Installer logs
33
+ pip-log.txt
34
+ pip-delete-this-directory.txt
35
+ pip-selfcheck.json
36
+
37
+ # Unit test / coverage reports
38
+ htmlcov/
39
+ .tox/
40
+ .coverage
41
+ .cache
42
+ nosetests.xml
43
+ coverage.xml
44
+
45
+ # Translations
46
+ *.mo
47
+
48
+ # Mr Developer
49
+ .mr.developer.cfg
50
+ .project
51
+ .pydevproject
52
+
53
+ # Rope
54
+ .ropeproject
55
+
56
+ # Django stuff:
57
+ *.log
58
+ *.pot
59
+
60
+ .DS_Store
61
+
62
+ # Sphinx documentation
63
+ docs/_build/
64
+
65
+ # PyCharm
66
+ .idea/
67
+
68
+ # VSCode
69
+ .vscode/
70
+
71
+ # Pyenv
72
+ .python-version