File tree Expand file tree Collapse file tree 4 files changed +47
-16
lines changed Expand file tree Collapse file tree 4 files changed +47
-16
lines changed Original file line number Diff line number Diff line change @@ -32,10 +32,32 @@ jobs:
3232 profile : minimal
3333 toolchain : stable
3434 override : true
35+ - name : Install Cross-compilers (macOS)
36+ if : matrix.os == 'macos-latest'
37+ run : |
38+ rustup target add x86_64-apple-darwin
39+ rustup target add aarch64-apple-darwin
3540 - name : Publish Package
3641 uses : messense/maturin-action@v1
42+ if : matrix.os != 'macos-latest'
3743 with :
3844 command : publish
3945 args : --username=__token__ --no-sdist --interpreter=python${{ !startsWith(matrix.os, 'windows') && matrix.python-version || '' }}
4046 env :
4147 MATURIN_PASSWORD : ${{ secrets.pypi_password }}
48+ - name : Publish macOS (x86_64) Package
49+ if : matrix.os == 'macos-latest'
50+ uses : PyO3/maturin-action@v1
51+ with :
52+ command : publish
53+ args : --username=__token__ --interpreter=python${{ matrix.python-version }} --target=x86_64-apple-darwin --no-sdist
54+ env :
55+ MATURIN_PASSWORD : ${{ secrets.pypi_password }}
56+ - name : Publish macOS (arm64) Package
57+ if : matrix.os == 'macos-latest'
58+ uses : PyO3/maturin-action@v1
59+ with :
60+ command : publish
61+ args : --username=__token__ --interpreter=python${{ matrix.python-version }} --target=aarch64-apple-darwin --no-sdist
62+ env :
63+ MATURIN_PASSWORD : ${{ secrets.pypi_password }}
Original file line number Diff line number Diff line change 77__pycache__ /
88* .py [cod ]
99* $py.class
10+ .vscode /
1011
1112# C extensions
1213* .so
Original file line number Diff line number Diff line change 11[package ]
22name = " pyrepscan"
3- version = " 0.11 .0"
3+ version = " 0.12 .0"
44authors = [" Gal Ben David <gal@intsights.com>" ]
55edition = " 2021"
66description = " A Git Repository Secrets Scanner written in Rust"
@@ -16,21 +16,6 @@ keywords = [
1616 " pyo3" ,
1717]
1818
19- [package .metadata .maturin ]
20- requires-python = " >=3.7"
21- classifier = [
22- " License :: OSI Approved :: MIT License" ,
23- " Operating System :: MacOS" ,
24- " Operating System :: Microsoft" ,
25- " Operating System :: POSIX :: Linux" ,
26- " Programming Language :: Python :: 3.7" ,
27- " Programming Language :: Python :: 3.8" ,
28- " Programming Language :: Python :: 3.9" ,
29- " Programming Language :: Python :: 3.10" ,
30- " Programming Language :: Python :: 3.11" ,
31- " Programming Language :: Rust" ,
32- ]
33-
3419[lib ]
3520name = " pyrepscan"
3621crate-type = [" cdylib" ]
Original file line number Diff line number Diff line change 1+ [project ]
2+ name = " pyrepscan"
3+ version = " 0.12.0"
4+ description = " A Git Repository Secrets Scanner written in Rust"
5+ authors = [
6+ {email = " gal@intsights.com" },
7+ {name = " Gal Ben David" }
8+ ]
9+ requires-python = " >=3.7"
10+ license = {file = " LICENSE" }
11+ classifiers = [
12+ " License :: OSI Approved :: MIT License" ,
13+ " Operating System :: MacOS" ,
14+ " Operating System :: Microsoft" ,
15+ " Operating System :: POSIX :: Linux" ,
16+ " Programming Language :: Python :: 3.7" ,
17+ " Programming Language :: Python :: 3.8" ,
18+ " Programming Language :: Python :: 3.9" ,
19+ " Programming Language :: Python :: 3.10" ,
20+ " Programming Language :: Python :: 3.11" ,
21+ " Programming Language :: Rust" ,
22+ ]
23+
124[build-system ]
225requires = [" maturin>=0.12,<0.13" ]
326build-backend = " maturin"
You can’t perform that action at this time.
0 commit comments