File tree 4 files changed +47
-16
lines changed
4 files changed +47
-16
lines changed Original file line number Diff line number Diff line change @@ -32,10 +32,32 @@ jobs:
32
32
profile : minimal
33
33
toolchain : stable
34
34
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
35
40
- name : Publish Package
36
41
uses : messense/maturin-action@v1
42
+ if : matrix.os != 'macos-latest'
37
43
with :
38
44
command : publish
39
45
args : --username=__token__ --no-sdist --interpreter=python${{ !startsWith(matrix.os, 'windows') && matrix.python-version || '' }}
40
46
env :
41
47
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 7
7
__pycache__ /
8
8
* .py [cod ]
9
9
* $py.class
10
+ .vscode /
10
11
11
12
# C extensions
12
13
* .so
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " pyrepscan"
3
- version = " 0.11 .0"
3
+ version = " 0.12 .0"
4
4
authors = [" Gal Ben David <gal@intsights.com>" ]
5
5
edition = " 2021"
6
6
description = " A Git Repository Secrets Scanner written in Rust"
@@ -16,21 +16,6 @@ keywords = [
16
16
" pyo3" ,
17
17
]
18
18
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
-
34
19
[lib ]
35
20
name = " pyrepscan"
36
21
crate-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
+
1
24
[build-system ]
2
25
requires = [" maturin>=0.12,<0.13" ]
3
26
build-backend = " maturin"
You can’t perform that action at this time.
0 commit comments