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/"]