shortneer 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,57 @@
1
+ name: Publish to PyPI
2
+
3
+ on:
4
+ push:
5
+ tags: ["v*"]
6
+
7
+ jobs:
8
+ build:
9
+ strategy:
10
+ fail-fast: false
11
+ matrix:
12
+ os: [ubuntu-latest, windows-latest, macos-latest]
13
+ runs-on: ${{ matrix.os }}
14
+ steps:
15
+ - uses: actions/checkout@v4
16
+ - uses: actions/setup-python@v5
17
+ with:
18
+ python-version: "3.x"
19
+ - name: Build wheels
20
+ uses: PyO3/maturin-action@v1
21
+ with:
22
+ args: --release --out dist
23
+ manylinux: auto
24
+ - uses: actions/upload-artifact@v4
25
+ with:
26
+ name: wheels-${{ matrix.os }}
27
+ path: dist
28
+
29
+ sdist:
30
+ runs-on: ubuntu-latest
31
+ steps:
32
+ - uses: actions/checkout@v4
33
+ - name: Build sdist
34
+ uses: PyO3/maturin-action@v1
35
+ with:
36
+ command: sdist
37
+ args: --out dist
38
+ - uses: actions/upload-artifact@v4
39
+ with:
40
+ name: sdist
41
+ path: dist
42
+
43
+ publish:
44
+ needs: [build, sdist]
45
+ runs-on: ubuntu-latest
46
+ steps:
47
+ - uses: actions/download-artifact@v4
48
+ with:
49
+ path: dist
50
+ merge-multiple: true
51
+ - name: Publish to PyPI
52
+ uses: PyO3/maturin-action@v1
53
+ with:
54
+ command: upload
55
+ args: --non-interactive --skip-existing dist/*
56
+ env:
57
+ MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
@@ -0,0 +1,11 @@
1
+ cat > .gitignore << 'EOF'
2
+ .venv/
3
+ target/
4
+ __pycache__/
5
+ *.so
6
+ *.pyd
7
+ *.dylib
8
+ *.egg-info/
9
+ dist/
10
+ .env
11
+ EOF