Skip to content

Restore PyPI classifiers and license metadata in pyproject.toml (fixes #131) - #138

Open
Rehan30g wants to merge 1 commit into
TkTech:masterfrom
Rehan30g:fix-pypi-classifiers
Open

Restore PyPI classifiers and license metadata in pyproject.toml (fixes #131)#138
Rehan30g wants to merge 1 commit into
TkTech:masterfrom
Rehan30g:fix-pypi-classifiers

Conversation

@Rehan30g

@Rehan30g Rehan30g commented Jul 9, 2026

Copy link
Copy Markdown

The README license badge (img.shields.io/pypi/l/pysimdjson) shows up as "missing" because it reads the license from the PyPI Trove classifiers, and those got dropped when setup.py was migrated to pyproject.toml in v7 (#124). You already spotted this in the issue.

This restores the metadata that was in the old setup.py but never carried over:

  • License :: OSI Approved :: MIT License classifier (the one the badge needs) plus the other classifiers
  • a real description instead of the leftover "Add your description here" placeholder
  • author, keywords and project URLs

I verified it by building the sdist and checking PKG-INFO, which now includes:

Summary: simdjson bindings for python
Author-email: Tyler Kennedy <tk@tkte.ch>
Keywords: json,simdjson,simd
Classifier: License :: OSI Approved :: MIT License

I kept Development Status :: 3 - Alpha to match what was there before, happy to bump it if you'd rather it reflect the current maturity.

Fixes #131

When setup.py was replaced with pyproject.toml in v7 (TkTech#124) the PyPI
classifiers, license, author, keywords and description got left behind,
so the license badge in the README shows up as missing because it reads
the license classifier from PyPI.

This puts the MIT license classifier back along with the rest of the
metadata that was there before, so the badge works again and the package
page has proper info. Verified by building the sdist and checking that
PKG-INFO now carries the "License :: OSI Approved :: MIT License"
classifier.

Fixes TkTech#131
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.

license missing???

1 participant