File tree Expand file tree Collapse file tree 2 files changed +41
-2
lines changed
Expand file tree Collapse file tree 2 files changed +41
-2
lines changed Original file line number Diff line number Diff line change 66 workflow_dispatch :
77
88permissions :
9+ contents : read
910 id-token : write
1011
1112jobs :
2223 - name : Set up Python
2324 uses : actions/setup-python@v5
2425 with :
25- python-version : ' 3.10 '
26+ python-version : ' 3.x '
2627
2728 - name : Install Rust
2829 uses : dtolnay/rust-toolchain@stable
4849 - name : Set up Python
4950 uses : actions/setup-python@v5
5051 with :
51- python-version : ' 3.10 '
52+ python-version : ' 3.x '
5253
5354 - name : Install Rust
5455 uses : dtolnay/rust-toolchain@stable
7374 name : pypi
7475 url : https://pypi.org/p/externkit
7576 permissions :
77+ contents : read
7678 id-token : write # IMPORTANT: this permission is mandatory for trusted publishing
7779
7880 steps :
@@ -83,10 +85,14 @@ jobs:
8385 path : dist
8486 merge-multiple : true
8587
88+ - name : List files to be published
89+ run : ls -la dist/
90+
8691 - name : Publish to PyPI
8792 uses : pypa/gh-action-pypi-publish@release/v1
8893 with :
8994 # Using trusted publishing - no API token needed!
9095 # Make sure you've configured trusted publishing on PyPI:
9196 # https://docs.pypi.org/trusted-publishers/
9297 verbose : true
98+ print-hash : true
Original file line number Diff line number Diff line change 1+ [build-system ]
2+ requires = [" maturin>=1.0,<2.0" ]
3+ build-backend = " maturin"
4+
5+ [project ]
6+ name = " externkit"
7+ version = " 0.1.0"
8+ description = " A Python extension for externkit"
9+ readme = " README.md"
10+ license = {file = " LICENSE" }
11+ authors = [
12+ {name = " externref" },
13+ ]
14+ classifiers = [
15+ " Development Status :: 3 - Alpha" ,
16+ " Intended Audience :: Developers" ,
17+ " License :: OSI Approved :: MIT License" ,
18+ " Programming Language :: Python :: 3" ,
19+ " Programming Language :: Python :: 3.8" ,
20+ " Programming Language :: Python :: 3.9" ,
21+ " Programming Language :: Python :: 3.10" ,
22+ " Programming Language :: Python :: 3.11" ,
23+ " Programming Language :: Python :: 3.12" ,
24+ " Programming Language :: Rust" ,
25+ ]
26+ requires-python = " >=3.8"
27+
28+ [project .urls ]
29+ Repository = " https://github.com/externref/externkit"
30+
31+ [tool .maturin ]
32+ # Python source is in the root directory
33+ module-name = " externkit.externkit"
You can’t perform that action at this time.
0 commit comments