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