gitpure 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,183 @@
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
+ - 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
+ # ring requires a newer version of manylinux on aarch64
51
+ manylinux: ${{ matrix.platform.target == 'aarch64' && '2_28' || 'auto' }}
52
+ - name: Upload wheels
53
+ uses: actions/upload-artifact@v4
54
+ with:
55
+ name: wheels-linux-${{ matrix.platform.target }}
56
+ path: dist
57
+
58
+ musllinux:
59
+ runs-on: ${{ matrix.platform.runner }}
60
+ strategy:
61
+ matrix:
62
+ platform:
63
+ - runner: ubuntu-22.04
64
+ target: x86_64
65
+ - runner: ubuntu-22.04
66
+ target: x86
67
+ - runner: ubuntu-22.04
68
+ target: aarch64
69
+ - runner: ubuntu-22.04
70
+ target: armv7
71
+ steps:
72
+ - uses: actions/checkout@v4
73
+ - uses: actions/setup-python@v5
74
+ with:
75
+ python-version: 3.x
76
+ - name: Build wheels
77
+ uses: PyO3/maturin-action@v1
78
+ with:
79
+ target: ${{ matrix.platform.target }}
80
+ args: --release --out dist --find-interpreter
81
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
82
+ manylinux: musllinux_1_2
83
+ - name: Upload wheels
84
+ uses: actions/upload-artifact@v4
85
+ with:
86
+ name: wheels-musllinux-${{ matrix.platform.target }}
87
+ path: dist
88
+
89
+ windows:
90
+ runs-on: ${{ matrix.platform.runner }}
91
+ strategy:
92
+ matrix:
93
+ platform:
94
+ - runner: windows-latest
95
+ target: x64
96
+ - runner: windows-latest
97
+ target: x86
98
+ steps:
99
+ - uses: actions/checkout@v4
100
+ - uses: actions/setup-python@v5
101
+ with:
102
+ python-version: 3.x
103
+ architecture: ${{ matrix.platform.target }}
104
+ - name: Build wheels
105
+ uses: PyO3/maturin-action@v1
106
+ with:
107
+ target: ${{ matrix.platform.target }}
108
+ args: --release --out dist --find-interpreter
109
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
110
+ - name: Upload wheels
111
+ uses: actions/upload-artifact@v4
112
+ with:
113
+ name: wheels-windows-${{ matrix.platform.target }}
114
+ path: dist
115
+
116
+ macos:
117
+ runs-on: ${{ matrix.platform.runner }}
118
+ strategy:
119
+ matrix:
120
+ platform:
121
+ - runner: macos-13
122
+ target: x86_64
123
+ - runner: macos-14
124
+ target: aarch64
125
+ steps:
126
+ - uses: actions/checkout@v4
127
+ - uses: actions/setup-python@v5
128
+ with:
129
+ python-version: 3.x
130
+ - name: Build wheels
131
+ uses: PyO3/maturin-action@v1
132
+ with:
133
+ target: ${{ matrix.platform.target }}
134
+ args: --release --out dist --find-interpreter
135
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
136
+ - name: Upload wheels
137
+ uses: actions/upload-artifact@v4
138
+ with:
139
+ name: wheels-macos-${{ matrix.platform.target }}
140
+ path: dist
141
+
142
+ sdist:
143
+ runs-on: ubuntu-latest
144
+ steps:
145
+ - uses: actions/checkout@v4
146
+ - name: Build sdist
147
+ uses: PyO3/maturin-action@v1
148
+ with:
149
+ command: sdist
150
+ args: --out dist
151
+ - name: Upload sdist
152
+ uses: actions/upload-artifact@v4
153
+ with:
154
+ name: wheels-sdist
155
+ path: dist
156
+
157
+ release:
158
+ name: Release
159
+ runs-on: ubuntu-latest
160
+ if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
161
+ needs: [linux, musllinux, windows, macos, sdist]
162
+ permissions:
163
+ # Use to sign the release artifacts
164
+ id-token: write
165
+ # Used to upload release artifacts
166
+ contents: write
167
+ # Used to generate artifact attestation
168
+ attestations: write
169
+ environment:
170
+ name: pypi
171
+ url: https://pypi.org/p/gitpure
172
+ steps:
173
+ - uses: actions/download-artifact@v4
174
+ - name: Generate artifact attestation
175
+ uses: actions/attest-build-provenance@v2
176
+ with:
177
+ subject-path: 'wheels-*/*'
178
+ - name: Publish to PyPI
179
+ if: ${{ startsWith(github.ref, 'refs/tags/') }}
180
+ uses: PyO3/maturin-action@v1
181
+ with:
182
+ command: upload
183
+ 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