Skip to content

Commit 29e5c32

Browse files
committed
revert: "chore(sync): add python build system"
This reverts commit e50316c. ImportError: cannot import name 'main' from 'synchronizer' (unknown location) https://github.com/ScottyLabs/governance/actions/runs/20835225055/job/59858465905
1 parent e50316c commit 29e5c32

File tree

4 files changed

+8
-9
lines changed

4 files changed

+8
-9
lines changed

.devcontainer/post-create.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ set -e
33

44
# Install Python dependencies
55
uv sync
6+
uv pip install -e .
67

78
# Install xdg-utils for Vault login
89
sudo apt-get update -y

.github/workflows/sync.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,5 @@ jobs:
3737
- name: Run Sync Script
3838
run: |
3939
uv sync --no-dev
40+
uv pip install .
4041
uv run --no-dev sync

pyproject.toml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,13 @@ dev = [
2626
"types-hvac>=2.4.0.20251115",
2727
]
2828

29-
[build-system]
30-
requires = ["hatchling"]
31-
build-backend = "hatchling.build"
32-
33-
[tool.hatch.build.targets.wheel]
34-
packages = ["__meta/synchronizer"]
35-
3629
[project.scripts]
3730
sync = "synchronizer:main"
3831

32+
[tool.setuptools.packages.find]
33+
where = ["__meta/synchronizer"]
34+
include = ["synchronizer*"]
35+
3936
[tool.mypy]
4037
check_untyped_defs = true
4138

uv.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)