diff --git a/.github/workflows/release-python.yml b/.github/workflows/release-python.yml index ce76293..8c56f8f 100644 --- a/.github/workflows/release-python.yml +++ b/.github/workflows/release-python.yml @@ -30,6 +30,13 @@ jobs: --manifest-path Cargo.toml --out dist + - name: Inspect Source Distribution + run: | + for file in dist/*.tar.gz; do + echo "Inspecting $file" + tar -tzf "$file" | grep PKG-INFO || echo "PKG-INFO not found" + tar -xOf "$file" */PKG-INFO || echo "Unable to read PKG-INFO" + done - name: Test sdist run: | python -m pip install --upgrade pip diff --git a/Cargo.lock b/Cargo.lock index 6042058..32c63a2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -409,6 +409,14 @@ dependencies = [ "winapi", ] +[[package]] +name = "polodb_python" +version = "0.1.16" +dependencies = [ + "polodb_core", + "pyo3", +] + [[package]] name = "portable-atomic" version = "1.9.0" @@ -439,14 +447,6 @@ dependencies = [ "unicode-ident", ] -[[package]] -name = "py-binding-polodb" -version = "0.1.2" -dependencies = [ - "polodb_core", - "pyo3", -] - [[package]] name = "pyo3" version = "0.23.2" diff --git a/Cargo.toml b/Cargo.toml index 6ee1f77..be3b170 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,13 @@ [package] -name = "py-binding-polodb" -version = "0.1.2" +name = "polodb_python" # Must match the Python package name +version = "0.1.16" edition = "2021" +description = "Python bindings for PoloDB" +license = "Apache License" +license-file = "LICENSE.txt" +repository = "https://github.com/PoloDB/polodb-python" +homepage = "https://github.com/PoloDB/polodb-python" +documentation = "https://github.com/PoloDB/polodb-python/blob/main/README.md" [lib] # The name of the native library. This is the name which will be used in Python to import the diff --git a/pyproject.toml b/pyproject.toml index beea6a1..23271de 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "polodb-python" -version = "0.1.15" +version = "0.1.16" description = "Add your description here" readme = "README.md" requires-python = ">=3.9"