dfasf
This commit is contained in:
parent
61fd366c3a
commit
5ff2ec5219
3
.gitignore
vendored
3
.gitignore
vendored
@ -6,4 +6,5 @@ __pycache__/
|
||||
*.mp3
|
||||
*.cache*
|
||||
|
||||
/build/*
|
||||
/build/*
|
||||
!/build/build.sh
|
||||
|
17
build/build.sh
Normal file
17
build/build.sh
Normal file
@ -0,0 +1,17 @@
|
||||
# https://packaging.python.org/en/latest/tutorials/packaging-projects/
|
||||
cd ../src
|
||||
cp ../README.md README.md
|
||||
|
||||
echo "building......"
|
||||
python3 -m pip install --upgrade build
|
||||
python3 -m build
|
||||
|
||||
echo "cleaning up......."
|
||||
rm README.md
|
||||
cd ../build
|
||||
rm -rf dist
|
||||
mv ../src/dist .
|
||||
|
||||
echo "uploading......."
|
||||
# python3 -m pip install --upgrade twine
|
||||
twine upload dist/*
|
Loading…
Reference in New Issue
Block a user