Skip to content

🤖 chore: complete PyPI metadata - #67

Merged
dancergraham merged 2 commits into
mainfrom
chore/pypi-metadata
Nov 22, 2026
Merged

dancergraham merged 2 commits into
mainfrom
chore/pypi-metadata

Conversation

@dancergraham

Copy link
Copy Markdown
Owner

PyPI shows "The author of this package has not provided a project description" because pyproject.toml had no readme. PyPI only renders the long description embedded in the uploaded dist; it never pulls from GitHub. Descriptions of already-published releases can't be changed, so this shows up from the next release.

Changes

  • readme = "README.md" (Markdown/GFM content type inferred by maturin)
  • PEP 639: license = "MIT" + license-files = ["LICENSE"]; dropped the deprecated License :: classifier. Metadata is now 2.4 with License-Expression: MIT.
  • dynamic = ["version"]: version comes from Cargo.toml only (separate commit). Releases now bump just Cargo.toml (+ Cargo.lock).
  • Shorter description (the search-result summary): "Read E57 point cloud files into NumPy arrays, powered by Rust."
  • Keywords: added point-cloud, laser-scanning, astm-e2807.
  • Issues and Changelog (GitHub releases) URLs; repository → Repository.
  • Classifiers, compared with laspy, pdal, pyproj, pye57 and open3d:
    • Python 3, 3 :: Only, 3.11 to 3.15 (matches requires-python and the CI build matrix)
    • Free Threading :: 2 - Beta: CI already builds t wheels and asserts the GIL stays disabled (same level as pyproj)
    • Typing :: Typed: the wheel ships e57/__init__.pyi and py.typed
    • Intended Audience: Developers, Science/Research
    • Topic: Scientific/Engineering, Scientific/Engineering :: GIS (laspy, pdal, pyproj, shapely all use it), Multimedia :: Graphics :: 3D Modeling (as open3d)
    • Operating System :: OS Independent (laspy, pdal, pyproj)
    • Kept: Rust, CPython, PyPy (pypy3.11/3.12 wheels are built), File Formats, 3 - Alpha

Verified locally

  • All classifiers are valid against trove-classifiers
  • validate-pyproject (with packaging>=24.2 for licence expression validation): valid
  • maturin build + maturin sdist (maturin 1.13.0), twine check --strict: both PASSED
  • Wheel METADATA: Metadata-Version 2.4, Version 0.3.0 (from Cargo), License-Expression MIT, licenses/LICENSE, Description-Content-Type: text/markdown; variant=GFM, all classifiers/URLs present; sdist includes README, LICENSE, e57.pyi
  • sdist installs from source on 3.13 and reports version 0.3.0
  • pytest: 21 passed on CPython 3.11 and 3.14t; sys._is_gil_enabled() is False on 3.14t
  • mypy.stubtest (mypy 2.4.1): no issues
  • cargo fmt --check, cargo clippy -D warnings, ruff check, ruff format --check: clean

Left as is

  • cargo package warns that Cargo.toml has no description/license. Pre-existing and harmless since the crate isn't published to crates.io.
  • The author email (gmail) stays public on PyPI, unchanged.
  • test stays an optional extra, not moved to a PEP 735 dependency group, because that would change CI install steps.

🤖 Generated with Claude Code

dancergraham and others added 2 commits November 22, 2026 17:37
Removes the duplicated version in pyproject.toml so releases only bump
Cargo.toml.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- readme: PyPI showed no project description
- PEP 639 license expression and license file, replacing the deprecated
  license classifier
- shorter summary, more keywords
- classifiers for supported Python versions, free threading, typing,
  audience and topic, aligned with laspy, pdal, pyproj and pye57
- Issues and Changelog project URLs

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dancergraham
dancergraham marked this pull request as ready for review November 22, 2026 16:46
@dancergraham
dancergraham merged commit 2463677 into main Nov 22, 2026
23 checks passed
@dancergraham
dancergraham deleted the chore/pypi-metadata branch November 22, 2026 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant