|
| 1 | +[build-system] |
| 2 | +requires = ["hatchling>=1.27"] |
| 3 | +build-backend = "hatchling.build" |
| 4 | + |
| 5 | +[project] |
| 6 | +name = "ng-postcode-mcp" |
| 7 | +version = "0.1.0" |
| 8 | +description = "MCP server for Nigeria's NIPOST digital postcode (NDAPS): validate, look up and reverse-geocode postcodes." |
| 9 | +readme = "README.md" |
| 10 | +requires-python = ">=3.10" |
| 11 | +license = "MIT" |
| 12 | +license-files = ["LICENSE"] |
| 13 | +authors = [{ name = "Kayode Adeniyi" }] |
| 14 | +keywords = ["mcp", "mcp-server", "model-context-protocol", "ai-agents", "nigeria", "postcode", "nipost", "ndaps", "geocoding"] |
| 15 | +classifiers = [ |
| 16 | + "Development Status :: 3 - Alpha", |
| 17 | + "Intended Audience :: Developers", |
| 18 | + "Operating System :: OS Independent", |
| 19 | + "Programming Language :: Python :: 3", |
| 20 | + "Programming Language :: Python :: 3 :: Only", |
| 21 | + "Programming Language :: Python :: 3.10", |
| 22 | + "Programming Language :: Python :: 3.11", |
| 23 | + "Programming Language :: Python :: 3.12", |
| 24 | + "Programming Language :: Python :: 3.13", |
| 25 | + "Programming Language :: Python :: 3.14", |
| 26 | + "Topic :: Scientific/Engineering :: GIS", |
| 27 | + "Typing :: Typed", |
| 28 | +] |
| 29 | +dependencies = ["mcp>=2.3,<3", "ng-postcode[client]>=0.1,<0.2"] |
| 30 | + |
| 31 | +[project.scripts] |
| 32 | +ng-postcode-mcp = "ng_postcode_mcp.server:main" |
| 33 | + |
| 34 | +[project.urls] |
| 35 | +Repository = "https://github.com/Adeniyikayodee/ng-postcode" |
| 36 | +Issues = "https://github.com/Adeniyikayodee/ng-postcode/issues" |
| 37 | + |
| 38 | +[dependency-groups] |
| 39 | +dev = ["jsonschema>=4.20", "mypy>=1.13", "pytest>=8", "ruff>=0.8"] |
| 40 | + |
| 41 | +# Inside the repository, build against the local library so the two never drift. |
| 42 | +[tool.uv.sources] |
| 43 | +ng-postcode = { path = "../python", editable = true } |
| 44 | + |
| 45 | +[tool.hatch.build.targets.sdist] |
| 46 | +only-include = ["src", "tests", "README.md", "LICENSE", "server.json"] |
| 47 | + |
| 48 | +[tool.ruff] |
| 49 | +line-length = 100 |
| 50 | +target-version = "py310" |
| 51 | + |
| 52 | +[tool.ruff.lint] |
| 53 | +select = ["E", "F", "W", "I", "UP", "B", "SIM", "RUF", "PT"] |
| 54 | + |
| 55 | +[tool.mypy] |
| 56 | +strict = true |
| 57 | +files = ["src", "tests"] |
| 58 | + |
| 59 | +[tool.pytest.ini_options] |
| 60 | +testpaths = ["tests"] |
0 commit comments