From 7655039ca7e734f11a5373bcd94ba2d70fc74d29 Mon Sep 17 00:00:00 2001 From: Robert Sachunsky Date: Wed, 29 May 2024 12:41:51 +0200 Subject: [PATCH] fix/add build --- MANIFEST.in | 3 +++ Makefile | 5 +++++ 2 files changed, 8 insertions(+) create mode 100644 MANIFEST.in diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..017261c --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,3 @@ +include README.md +include requirements.txt +include ocrd-tool.json diff --git a/Makefile b/Makefile index d88c9e2..5acb886 100644 --- a/Makefile +++ b/Makefile @@ -20,6 +20,7 @@ help: @echo " deps-ubuntu Install required packages for Debian/Ubuntu" @echo " install Install" @echo " install-dev Install in editable mode" + @echo " build Build source and binary distribution" @echo " docker Build Docker image" @echo " test Run test" @echo " repo/assets Clone OCR-D/assets to ./repo/assets" @@ -54,6 +55,10 @@ install: install-dev: $(PIP) install -e . +build: + $(PIP) install build + $(PYTHON) -m build . + # Build docker image docker: docker build \