# SPDX-FileCopyrightText: 2026 Bart Broere # SPDX-License-Identifier: GPL-3.0-or-later [build-system] requires = ["hatchling>=1.27", "hatch-fancy-pypi-readme>=24.1"] build-backend = "hatchling.build" [project] name = "peo" dynamic = ["version", "readme"] description = "neo4j-browser and Neo4j drivers on top of PostgreSQL, using Apache AGE as the graph engine" license = "GPL-3.0-or-later" license-files = ["LICENSE"] authors = [{ name = "Bart Broere" }] requires-python = ">=3.11" dependencies = ["psycopg>=3.1", "websockets>=13"] keywords = ["neo4j", "bolt", "cypher", "postgresql", "apache-age", "graph"] classifiers = [ "Development Status :: 3 - Alpha", "Programming Language :: Python :: 3", "Topic :: Database", ] [project.optional-dependencies] binary = ["psycopg[binary]>=3.1"] browser = ["starlette>=0.37", "uvicorn>=0.29"] [project.urls] Source = "https://git.bartbroe.re/bartbroere/peo" [project.scripts] peo = "peo.__main__:run" [tool.hatch.version] path = "peo/__init__.py" [tool.hatch.build.targets.sdist] include = ["/peo", "/README.md", "/LICENSE"] [tool.hatch.build.targets.wheel] packages = ["peo"] # The README links to other files in the repository with relative links, which # do not work on PyPI. Make them absolute in the package metadata only. [tool.hatch.metadata.hooks.fancy-pypi-readme] content-type = "text/markdown" [[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]] path = "README.md" [[tool.hatch.metadata.hooks.fancy-pypi-readme.substitutions]] pattern = '\]\(#' replacement = '](https://git.bartbroe.re/bartbroere/peo#' [[tool.hatch.metadata.hooks.fancy-pypi-readme.substitutions]] pattern = '\]\((?![a-z]+:|#)([^)]+)\)' replacement = '](https://git.bartbroe.re/bartbroere/peo/src/branch/main/\1)'