Use build script
This commit is contained in:
parent
05e42478b4
commit
dbe84b86ec
|
@ -1 +0,0 @@
|
||||||
include debian/
|
|
10
build.sh
Normal file
10
build.sh
Normal file
|
@ -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
|
|
@ -25,6 +25,3 @@ adsms = "adsms:main"
|
||||||
|
|
||||||
[tool.setuptools]
|
[tool.setuptools]
|
||||||
packages = ["adsms"]
|
packages = ["adsms"]
|
||||||
|
|
||||||
[tool.poetry]
|
|
||||||
include = ["debian/"]
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user