Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix package metadata issue #203

Merged
merged 1 commit into from
Jan 31, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ maintainers = [
]
readme = "README.md"
version = "0.6.17"
license = {text = "MIT"}
description = "Modern datetime library for Python"
requires-python = ">=3.9"
classifiers = [
Expand Down Expand Up @@ -87,6 +88,12 @@ ignore_missing_imports = true
[tool.setuptools.packages]
find = { where = ["pysrc"] }

[tool.setuptools]
# FUTURE: remove this once PEP639 compatibility issue is solved
# Note that maturin build still includes the license files in the wheel.
# Nothing to worry about.
license-files = []

# Notes about the build configuration:
# We need setuptools_rust to support enabling/disabling building the Rust
# extension from source distributions.
Expand All @@ -95,6 +102,7 @@ find = { where = ["pysrc"] }
[tool.maturin]
python-source = "pysrc"
module-name = "whenever._whenever"
# include = ["LICENSE*"]

[build-system]
build-backend = "setuptools.build_meta"
Expand Down