diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a9fcb63..5bca1a2 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -103,12 +103,11 @@ jobs: - name: Install Rust uses: dtolnay/rust-toolchain@stable - # Build typeid-python sdist (maturin) - name: Build sdist (maturin) uses: PyO3/maturin-action@v1 with: command: sdist - args: --out dist + args: --manifest-path rust-base32/Cargo.toml --out dist - name: Upload sdist uses: actions/upload-artifact@v4 diff --git a/LICENSE b/LICENSE index a1d6ba9..0bc2f46 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2023 Murad Akhundov +Copyright (c) 2025 Murad Akhundov Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/pyproject.toml b/pyproject.toml index df57f67..445f57b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,27 +1,21 @@ [project] name = "typeid-python" -version = "0.3.6" +version = "0.3.7" description = "Python implementation of TypeIDs: type-safe, K-sortable, and globally unique identifiers inspired by Stripe IDs" authors = [{ name = "Murad Akhundov", email = "akhundov1murad@gmail.com" }] requires-python = ">=3.10,<4" readme = "README.md" -license = "MIT" -keywords = [ - "typeid", - "uuid", - "rust", - "guid", - "uuid7", -] +license = { file = "LICENSE" } +keywords = ["typeid", "uuid", "rust", "guid", "uuid7"] classifiers = [ - "Development Status :: 3 - Alpha", - "License :: OSI Approved :: MIT License", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "Programming Language :: Python :: 3.13", - "Programming Language :: Python :: 3.14", - "Operating System :: OS Independent", + "Development Status :: 3 - Alpha", + "License :: OSI Approved :: MIT License", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", + "Operating System :: OS Independent", ] dependencies = ["uuid-utils>=0.12.0"] @@ -29,7 +23,7 @@ dependencies = ["uuid-utils>=0.12.0"] cli = ["click"] yaml = ["PyYAML"] -[project.urls] +[project.urls] Homepage = "https://github.com/akhundMurad/typeid-python" Repository = "https://github.com/akhundMurad/typeid-python" "Bug Tracker" = "https://github.com/akhundMurad/typeid-python/issues" @@ -39,22 +33,22 @@ typeid = "typeid.cli:cli" [dependency-groups] dev = [ - "pytest>=7.3.2,<8", - "black>=23.3.0,<24", - "mypy>=1.3.0,<2", - "requests>=2.31.0,<3", - "ruff>=0.14.5,<0.15", - "twine>=6.2.0,<7", - "pyyaml>=6.0", - "mkdocs-material>=9.7.1", - "mkdocstrings[python]>=1.0.0", - "mkdocs-git-revision-date-localized-plugin>=1.5.0", - "mkdocs-gen-files>=0.6.0", - "mkdocs-literate-nav>=0.6.2", - "mkdocs-section-index>=0.3.10", - "pytest-markdown-docs>=0.9.0", - "pytest-benchmark>=5.0.1", - "maturin>=1.5; platform_system != 'Windows'" + "pytest>=7.3.2,<8", + "black>=23.3.0,<24", + "mypy>=1.3.0,<2", + "requests>=2.31.0,<3", + "ruff>=0.14.5,<0.15", + "twine>=6.2.0,<7", + "pyyaml>=6.0", + "mkdocs-material>=9.7.1", + "mkdocstrings[python]>=1.0.0", + "mkdocs-git-revision-date-localized-plugin>=1.5.0", + "mkdocs-gen-files>=0.6.0", + "mkdocs-literate-nav>=0.6.2", + "mkdocs-section-index>=0.3.10", + "pytest-markdown-docs>=0.9.0", + "pytest-benchmark>=5.0.1", + "maturin>=1.5; platform_system != 'Windows'", ] [build-system] @@ -66,3 +60,4 @@ python-source = "." manifest-path = "rust-base32/Cargo.toml" module-name = "typeid._base32" features = ["pyo3/extension-module"] +include = ["LICENSE", "README.md", "typeid/**", "rust-base32/**"] diff --git a/rust-base32/Cargo.lock b/rust-base32/Cargo.lock index 487a7f8..e296c6e 100644 --- a/rust-base32/Cargo.lock +++ b/rust-base32/Cargo.lock @@ -154,7 +154,7 @@ checksum = "b1dd07eb858a2067e2f3c7155d54e929265c264e6f37efe3ee7a8d1b5a1dd0ba" [[package]] name = "typeid-base32" -version = "0.3.6" +version = "0.3.7" dependencies = [ "pyo3", ] diff --git a/rust-base32/Cargo.toml b/rust-base32/Cargo.toml index b6409e4..08529ae 100644 --- a/rust-base32/Cargo.toml +++ b/rust-base32/Cargo.toml @@ -1,10 +1,14 @@ [package] name = "typeid-base32" -version = "0.3.6" +version = "0.3.7" edition = "2021" +description = "Rust-accelerated base32 codec for typeid-python" +license = "MIT" +repository = "https://github.com/akhundMurad/typeid-python" + [lib] -name = "typeid_base32" +name = "_base32" crate-type = ["cdylib"] [dependencies] diff --git a/uv.lock b/uv.lock index 1241ccf..d2ea01e 100644 --- a/uv.lock +++ b/uv.lock @@ -1299,7 +1299,7 @@ wheels = [ [[package]] name = "typeid-python" -version = "0.3.6" +version = "0.3.7" source = { editable = "." } dependencies = [ { name = "uuid-utils" },