ncm-api-py 0.1.0__tar.gz → 0.1.2__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,170 @@
1
+ # This file is autogenerated by maturin v1.14.1
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
+ steps:
30
+ - uses: actions/checkout@v6
31
+ - uses: actions/setup-python@v6
32
+ with:
33
+ python-version: "3.10"
34
+ - name: Build wheels
35
+ uses: PyO3/maturin-action@v1
36
+ with:
37
+ target: ${{ matrix.platform.target }}
38
+ args: --release --out dist
39
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
40
+ manylinux: auto
41
+ - name: Upload wheels
42
+ uses: actions/upload-artifact@v6
43
+ with:
44
+ name: wheels-linux-${{ matrix.platform.target }}
45
+ path: dist
46
+
47
+ musllinux:
48
+ runs-on: ${{ matrix.platform.runner }}
49
+ strategy:
50
+ matrix:
51
+ platform:
52
+ - runner: ubuntu-22.04
53
+ target: x86_64
54
+ steps:
55
+ - uses: actions/checkout@v6
56
+ - uses: actions/setup-python@v6
57
+ with:
58
+ python-version: "3.10"
59
+ - name: Build wheels
60
+ uses: PyO3/maturin-action@v1
61
+ with:
62
+ target: ${{ matrix.platform.target }}
63
+ args: --release --out dist
64
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
65
+ manylinux: musllinux_1_2
66
+ - name: Upload wheels
67
+ uses: actions/upload-artifact@v6
68
+ with:
69
+ name: wheels-musllinux-${{ matrix.platform.target }}
70
+ path: dist
71
+
72
+ windows:
73
+ runs-on: ${{ matrix.platform.runner }}
74
+ strategy:
75
+ matrix:
76
+ platform:
77
+ - runner: windows-latest
78
+ target: x64
79
+ python_arch: x64
80
+ steps:
81
+ - uses: actions/checkout@v6
82
+ - uses: actions/setup-python@v6
83
+ with:
84
+ python-version: "3.10"
85
+ architecture: ${{ matrix.platform.python_arch }}
86
+ - name: Build wheels
87
+ uses: PyO3/maturin-action@v1
88
+ with:
89
+ target: ${{ matrix.platform.target }}
90
+ args: --release --out dist
91
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
92
+ - name: Upload wheels
93
+ uses: actions/upload-artifact@v6
94
+ with:
95
+ name: wheels-windows-${{ matrix.platform.target }}
96
+ path: dist
97
+
98
+ macos:
99
+ runs-on: ${{ matrix.platform.runner }}
100
+ strategy:
101
+ matrix:
102
+ platform:
103
+ - runner: macos-15-intel
104
+ target: x86_64
105
+ - runner: macos-latest
106
+ target: aarch64
107
+ steps:
108
+ - uses: actions/checkout@v6
109
+ - uses: actions/setup-python@v6
110
+ with:
111
+ python-version: "3.10"
112
+ - name: Build wheels
113
+ uses: PyO3/maturin-action@v1
114
+ with:
115
+ target: ${{ matrix.platform.target }}
116
+ args: --release --out dist
117
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
118
+ - name: Upload wheels
119
+ uses: actions/upload-artifact@v6
120
+ with:
121
+ name: wheels-macos-${{ matrix.platform.target }}
122
+ path: dist
123
+
124
+ sdist:
125
+ runs-on: ubuntu-latest
126
+ steps:
127
+ - uses: actions/checkout@v6
128
+ - name: Build sdist
129
+ uses: PyO3/maturin-action@v1
130
+ with:
131
+ command: sdist
132
+ args: --out dist
133
+ - name: Upload sdist
134
+ uses: actions/upload-artifact@v6
135
+ with:
136
+ name: wheels-sdist
137
+ path: dist
138
+
139
+ release:
140
+ name: Release
141
+ runs-on: ubuntu-latest
142
+ if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
143
+ needs: [linux, musllinux, windows, macos, sdist]
144
+ permissions:
145
+ # Use to sign the release artifacts
146
+ id-token: write
147
+ # Used to upload release artifacts
148
+ contents: write
149
+ # Used to generate artifact attestation
150
+ attestations: write
151
+ steps:
152
+ - name: Download distributions
153
+ uses: actions/download-artifact@v7
154
+ with:
155
+ pattern: wheels-*
156
+ path: dist
157
+ merge-multiple: true
158
+ - name: Generate artifact attestation
159
+ uses: actions/attest@v4
160
+ with:
161
+ subject-path: |
162
+ dist/*.whl
163
+ dist/*.tar.gz
164
+
165
+ - name: Publish to PyPI
166
+ if: ${{ startsWith(github.ref, 'refs/tags/') }}
167
+ uses: pypa/gh-action-pypi-publish@release/v1
168
+ with:
169
+ # Configure a PyPI Trusted Publisher for this repository and ci.yml.
170
+ packages-dir: dist/
@@ -12,7 +12,7 @@ __pycache__/
12
12
  .Python
13
13
  .venv/
14
14
  env/
15
- bin/
15
+ /bin/
16
16
  build/
17
17
  develop-eggs/
18
18
  dist/
@@ -77,3 +77,6 @@ docs/_build/
77
77
  .uvcache/
78
78
  .uvtools/
79
79
  .uvbin/
80
+
81
+ # Local Windows permission-repair backups (never publish)
82
+ .dsh-permission-recovery/