From dbe84b86ecace213123b541b3e66b9c313b04038 Mon Sep 17 00:00:00 2001 From: Samuel Sloniker Date: Mon, 8 May 2023 11:03:50 -0700 Subject: [PATCH] Use build script --- MANIFEST.in | 1 - build.sh | 10 ++++++++++ pyproject.toml | 3 --- 3 files changed, 10 insertions(+), 4 deletions(-) delete mode 100644 MANIFEST.in create mode 100644 build.sh diff --git a/MANIFEST.in b/MANIFEST.in deleted file mode 100644 index d477cda..0000000 --- a/MANIFEST.in +++ /dev/null @@ -1 +0,0 @@ -include debian/ diff --git a/build.sh b/build.sh new file mode 100644 index 0000000..32a64be --- /dev/null +++ b/build.sh @@ -0,0 +1,10 @@ +#!/bin/sh +rm -rf dist/* +python3 -m build +cd dist/ +tar zxf *.tar.gz +directory=$(ls | grep -v .tar.gz | grep -v whl) +rm $directory.tar.gz +cp --recursive ../debian/ $directory +tar czf $directory.tar.gz $directory +rm -r $directory diff --git a/pyproject.toml b/pyproject.toml index 3d973ea..ffc9a87 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,6 +25,3 @@ adsms = "adsms:main" [tool.setuptools] packages = ["adsms"] - -[tool.poetry] -include = ["debian/"]