[object Object]

← back to Exo

Use Hatch Build System

b53c1ba999d5855e60797704148b8ef7cc84d867 · 2025-06-28 01:28:52 +0100 · Arbion Halili

Files touched

Diff

commit b53c1ba999d5855e60797704148b8ef7cc84d867
Author: Arbion Halili <99731180+ToxicPine@users.noreply.github.com>
Date:   Sat Jun 28 01:28:52 2025 +0100

    Use Hatch Build System
---
 engines/mlx/pyproject.toml | 17 +++++++++++++++++
 master/pyproject.toml      | 17 +++++++++++++++++
 shared/pyproject.toml      | 22 ++++++++++++++++++++++
 3 files changed, 56 insertions(+)

diff --git a/engines/mlx/pyproject.toml b/engines/mlx/pyproject.toml
index b4086826..35487320 100644
--- a/engines/mlx/pyproject.toml
+++ b/engines/mlx/pyproject.toml
@@ -5,3 +5,20 @@ description = "MLX inference backend for the Exo project"
 readme = "README.md"
 requires-python = ">=3.13"
 dependencies = []
+
+[build-system]
+requires = ["hatchling"]
+build-backend = "hatchling.build"
+
+[tool.hatch.build]
+clean = true
+
+[tool.hatch.build.targets.wheel]
+packages = []
+include = ["*"]
+exclude = ["*.md", "pyproject.toml"]
+
+[tool.hatch.build.targets.sdist]
+packages = []
+include = ["*"]
+exclude = ["*.md", "pyproject.toml"]
\ No newline at end of file
diff --git a/master/pyproject.toml b/master/pyproject.toml
index 22d98254..6cc992c1 100644
--- a/master/pyproject.toml
+++ b/master/pyproject.toml
@@ -5,3 +5,20 @@ description = "Master service for the Exo project"
 readme = "README.md"
 requires-python = ">=3.13"
 dependencies = []
+
+[build-system]
+requires = ["hatchling"]
+build-backend = "hatchling.build"
+
+[tool.hatch.build]
+clean = true
+
+[tool.hatch.build.targets.wheel]
+packages = []
+include = ["*"]
+exclude = ["*.md", "pyproject.toml"]
+
+[tool.hatch.build.targets.sdist]
+packages = []
+include = ["*"]
+exclude = ["*.md", "pyproject.toml"]
\ No newline at end of file
diff --git a/shared/pyproject.toml b/shared/pyproject.toml
index daec0be4..3fb450fb 100644
--- a/shared/pyproject.toml
+++ b/shared/pyproject.toml
@@ -9,3 +9,25 @@ dependencies = [
     "pydantic>=2.11.7",
     "rich>=14.0.0",
 ]
+
+[build-system]
+requires = ["hatchling"]
+build-backend = "hatchling.build"
+
+[tool.hatch.build]
+clean = true
+
+[tool.hatch.build.targets.wheel]
+packages = []
+include = ["*"]
+exclude = ["protobufs/schemas", "*.md", "pyproject.toml"]
+
+[tool.hatch.build.targets.sdist]
+packages = []
+include = ["*"]
+exclude = ["protobufs/schemas", "*.md", "pyproject.toml"]
+
+[dependency-groups]
+dev = [
+    "types-protobuf>=6.30.2.20250516",
+]
\ No newline at end of file

← 423efe10 Add Protobuf Support  ·  back to Exo  ·  Keep Protobuf Directories 38bc8ea7 →