Python packaging

This commit is contained in:
Artur Barseghyan
2019-08-21 22:45:53 +02:00
parent 35219c84b9
commit 6846b27585
8 changed files with 109 additions and 16 deletions

11
scripts/clean_up.sh Executable file
View File

@ -0,0 +1,11 @@
#!/usr/bin/env bash
find . -name "*.pyc" -exec rm -rf {} \;
find . -name "__pycache__" -exec rm -rf {} \;
find . -name "*.orig" -exec rm -rf {} \;
rm -rf .cache/
rm -rf build/
rm -rf builddocs/
rm -rf dist/
rm -rf deb_dist/
rm src/podman-compose.egg-info -rf
rm builddocs.zip

5
scripts/make_release.sh Executable file
View File

@ -0,0 +1,5 @@
#!/usr/bin/env bash
./scripts/uninstall.sh
./scripts/clean_up.sh
python setup.py register
python setup.py sdist bdist_wheel upload

3
scripts/uninstall.sh Executable file
View File

@ -0,0 +1,3 @@
#!/usr/bin/env bash
pip uninstall podman-compose -y
./scripts/clean_up.sh