From 3af2d9a0d4cc439e4010428be80153e2655be283 Mon Sep 17 00:00:00 2001 From: Youngjoon Lee <5462944+youngjoon-lee@users.noreply.github.com> Date: Wed, 17 Jul 2024 10:23:44 +0900 Subject: [PATCH] Add pyproject.toml so that other projects can reference it --- pyproject.toml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..5f36f13 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,34 @@ +[project] +name = "nomos-specs" +version = "0.0.1" +description = "Nomos executable specifications" +readme = "README.md" +requires-python = ">=3.10" +classifiers = [ + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3 :: Only", + "Operating System :: OS Independent", +] +dynamic = ["dependencies"] + +[project.urls] +Homepage = "https://github.com/logos-co/nomos-specs" +Issues = "https://github.com/logos-co/nomos-specs/issues" + +[build-system] +requires = ["hatchling", "hatch-requirements-txt"] +build-backend = "hatchling.build" + +[tool.hatch.build.targets.sdist] +# Include only Python packages from this repository +include = ["mixnet", "cryptarchia", "da"] + +[tool.hatch.build.targets.wheel] +# Include only Python packages from this repository +packages = ["mixnet", "cryptarchia", "da"] + +[tool.hatch.metadata.hooks.requirements_txt] +files = ["requirements.txt"]