diff --git a/changelog.d/211.fixed.md b/changelog.d/211.fixed.md new file mode 100644 index 00000000..d95aace9 --- /dev/null +++ b/changelog.d/211.fixed.md @@ -0,0 +1 @@ +The wheel now declares its subpackages properly instead of sweeping the source tree in as package data, so a build from a working tree containing compiled bytecode or stray files no longer ships them. Adds `py.typed`, the full author list, per-version classifiers and project URLs. diff --git a/microimpute/py.typed b/microimpute/py.typed new file mode 100644 index 00000000..e69de29b diff --git a/pyproject.toml b/pyproject.toml index 9b99f85d..088db6c4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,9 +11,19 @@ version = "3.1.2" description = "Benchmarking imputation methods for microdata" readme = "README.md" authors = [ + { name = "Vahid Ahmadi", email = "vahid@policyengine.org" }, + { name = "Max Ghenis", email = "max@policyengine.org" }, { name = "MarĂ­a Juaristi", email = "juaristi@uni.minerva.edu" }, { name = "Nikhil Woodruff", email = "nikhil.woodruff@outlook.com" } ] +classifiers = [ + "Intended Audience :: Science/Research", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", + "Topic :: Scientific/Engineering :: Information Analysis", +] requires-python = ">=3.12,<3.15" dependencies = [ "numpy>=2.0.0,<3.0.0", @@ -62,12 +72,17 @@ images = [ "kaleido>=0.2.1,<0.3.0", # For exporting plots as PNG/JPG ] -[tool.setuptools] -packages = ["microimpute"] -include-package-data = true +[project.urls] +Repository = "https://github.com/PolicyEngine/microimpute" +Documentation = "https://policyengine.github.io/microimpute" +Issues = "https://github.com/PolicyEngine/microimpute/issues" + +[tool.setuptools.packages.find] +include = ["microimpute*"] +exclude = ["tests*", "docs*", "examples*", "experiments*"] [tool.setuptools.package-data] -"microimpute" = ["**/*"] +"microimpute" = ["py.typed"] [tool.towncrier] package = "microimpute"