From f1aaab3711bb43e44818f5cbbfebbd25aedc004a Mon Sep 17 00:00:00 2001 From: Gerrit Date: Fri, 17 Jul 2026 10:08:20 +0200 Subject: [PATCH] Include buf package in python release. --- .github/workflows/main.yml | 4 ++-- python/Makefile | 2 ++ python/buf/__init__.py | 0 python/buf/validate/__init__.py | 0 4 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 python/buf/__init__.py create mode 100644 python/buf/validate/__init__.py diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7e77ae00..5a8f666a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -76,8 +76,8 @@ jobs: - name: Package run: | cd python - python -m pip install setuptools wheel - python setup.py sdist bdist_wheel + python -m pip install build + python -m build env: VERSION: ${{ env.tag }} diff --git a/python/Makefile b/python/Makefile index 3907d6d6..68fe7118 100644 --- a/python/Makefile +++ b/python/Makefile @@ -1,5 +1,6 @@ .PHONY: clean clean: + rm -rf buf rm -rf metalstack/admin rm -rf metalstack/api rm -rf metalstack/infra @@ -7,3 +8,4 @@ clean: .PHONY: generate generate: @find metalstack -type d -exec touch {}/__init__.py \; + @find buf -type d -exec touch {}/__init__.py \; diff --git a/python/buf/__init__.py b/python/buf/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/python/buf/validate/__init__.py b/python/buf/validate/__init__.py new file mode 100644 index 00000000..e69de29b