File tree Expand file tree Collapse file tree 4 files changed +39
-18
lines changed
Expand file tree Collapse file tree 4 files changed +39
-18
lines changed Original file line number Diff line number Diff line change @@ -22,14 +22,29 @@ jobs:
2222 with :
2323 python-version : 3.9
2424
25- - name : Create source distribution
26- uses : PyO3/maturin-action@v1
27- with :
28- command : sdist
29- args : >
30- --manifest-path Cargo.toml
31- --out dist
25+ # - name: Create source distribution
26+ # uses: PyO3/maturin-action@v1
27+ # with:
28+ # command: sdist
29+ # args: >
30+ # --manifest-path Cargo.toml
31+ # --out dist
3232
33+ - name : Build with maturin
34+ run : |
35+ python -m pip install --upgrade pip
36+ pip install maturin
37+ maturin sdist --manifest-path Cargo.toml --out dist
38+
39+
40+ - name : Inspect Source Distribution
41+ run : |
42+ for file in dist/*.tar.gz; do
43+ echo "Inspecting $file"
44+ tar -tzf "$file" | grep PKG-INFO || echo "PKG-INFO not found"
45+ tar -xOf "$file" */PKG-INFO || echo "Unable to read PKG-INFO"
46+ done
47+
3348 - name : Test sdist
3449 run : |
3550 python -m pip install --upgrade pip
Original file line number Diff line number Diff line change 11[package ]
2- name = " py-binding-polodb "
3- version = " 0.1.2 "
2+ name = " polodb_python " # Must match the Python package name
3+ version = " 0.1.16 "
44edition = " 2021"
5+ description = " Python bindings for PoloDB"
6+ license = " Apache License"
7+ license-file = " LICENSE.txt"
8+ repository = " https://github.com/PoloDB/polodb-python"
9+ homepage = " https://github.com/PoloDB/polodb-python"
10+ documentation = " https://github.com/PoloDB/polodb-python/blob/main/README.md"
511
612[lib ]
713# The name of the native library. This is the name which will be used in Python to import the
Original file line number Diff line number Diff line change 11[project ]
22name = " polodb-python"
3- version = " 0.1.15 "
3+ version = " 0.1.16 "
44description = " Add your description here"
55readme = " README.md"
66requires-python = " >=3.9"
You can’t perform that action at this time.
0 commit comments