From fcf427d5216aa16b889edd82a2b4d1e6f333ace3 Mon Sep 17 00:00:00 2001 From: Martin Kersner Date: Tue, 30 Jun 2026 15:35:04 +0900 Subject: [PATCH] fix(pkg): add lib/__init__.py; Makefile cleans before build lib was shipped only as implicit namespace pkg; make explicit. Add clean+build targets so stale build/ can't leak phantom modules (binance/google/defillama/examples) into local wheels. --- Makefile | 9 +++++++++ datamaxi/lib/__init__.py | 0 2 files changed, 9 insertions(+) create mode 100644 Makefile create mode 100644 datamaxi/lib/__init__.py diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..fe95a5c --- /dev/null +++ b/Makefile @@ -0,0 +1,9 @@ +.PHONY: clean build + +# Remove build artifacts so stale modules can't leak into the wheel. +clean: + rm -rf build dist *.egg-info datamaxi.egg-info + +# Always build from a clean tree (matches the fresh-checkout CI build). +build: clean + python -m build diff --git a/datamaxi/lib/__init__.py b/datamaxi/lib/__init__.py new file mode 100644 index 0000000..e69de29