Skip to content

Commit fb2d5eb

Browse files
vahid-ahmadiclaude
andcommitted
Switch to pyproject.toml and add matplotlib dependency
- Remove setup.py in favor of pyproject.toml build system - Add matplotlib to dev dependencies in pyproject.toml - Alphabetize dev dependencies list for better maintainability Resolves conflicts with master branch build system changes. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent adf0c5f commit fb2d5eb

1 file changed

Lines changed: 76 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
[project]
2+
name = "policyengine-uk"
3+
version = "2.39.3"
4+
description = "PolicyEngine tax and benefit system for the UK"
5+
readme = "README.md"
6+
authors = [
7+
{ name = "PolicyEngine", email = "nikhil@policyengine.org" }
8+
]
9+
maintainers = [
10+
{ name = "Nikhil Woodruff", email = "nikhil.woodruff@outlook.com" }
11+
]
12+
license = { text = "AGPL-3.0" }
13+
keywords = ["benefit", "microsimulation", "social", "tax"]
14+
classifiers = [
15+
"Development Status :: 5 - Production/Stable",
16+
"License :: OSI Approved :: GNU Affero General Public License v3",
17+
"Operating System :: POSIX",
18+
"Programming Language :: Python",
19+
"Topic :: Scientific/Engineering :: Information Analysis",
20+
]
21+
requires-python = ">=3.10"
22+
dependencies = [
23+
"policyengine-core>=3.6.4",
24+
"microdf-python",
25+
]
26+
27+
[project.urls]
28+
Homepage = "https://github.com/PolicyEngine/policyengine-uk"
29+
Repository = "https://github.com/PolicyEngine/policyengine-uk"
30+
31+
[project.scripts]
32+
# Add console scripts here if needed
33+
34+
[build-system]
35+
requires = ["hatchling"]
36+
build-backend = "hatchling.build"
37+
38+
[tool.hatch.build]
39+
include = [
40+
"policyengine_uk/**/*",
41+
"CHANGELOG.md",
42+
"LICENSE",
43+
"README.md",
44+
]
45+
46+
[tool.hatch.build.targets.wheel]
47+
packages = ["policyengine_uk"]
48+
49+
[tool.hatch.build.targets.wheel.shared-data]
50+
"CHANGELOG.md" = "share/openfisca/openfisca-country-template/CHANGELOG.md"
51+
"LICENSE" = "share/openfisca/openfisca-country-template/LICENSE"
52+
"README.md" = "share/openfisca/openfisca-country-template/README.md"
53+
54+
[dependency-groups]
55+
dev = [
56+
"tables>=3.10.1",
57+
]
58+
59+
[project.optional-dependencies]
60+
dev = [
61+
"black",
62+
"coverage",
63+
"furo<2023",
64+
"jupyter-book",
65+
"linecheck",
66+
"matplotlib",
67+
"pytest",
68+
"pytest-cov",
69+
"setuptools",
70+
"snowballstemmer>=2,<3",
71+
"sphinx-argparse>=0.3.2,<1",
72+
"sphinx-math-dollar>=1.2.1,<2",
73+
"tqdm",
74+
"wheel",
75+
"yaml-changelog>=0.1.7",
76+
]

0 commit comments

Comments
 (0)