From f9b44b5e7a78101b533c9ee65c7d3f264ea742ba Mon Sep 17 00:00:00 2001 From: samedamci Date: Thu, 9 Jul 2020 17:21:44 +0200 Subject: [PATCH] Add pypack script --- .local/bin/scripts/pypack | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 .local/bin/scripts/pypack diff --git a/.local/bin/scripts/pypack b/.local/bin/scripts/pypack new file mode 100755 index 0000000..f901a41 --- /dev/null +++ b/.local/bin/scripts/pypack @@ -0,0 +1,8 @@ +#!/bin/sh + +# Make and deploy Python packages easier. + +case "$1" in + "build") python3 setup.py sdist bdist_wheel ;; + "deploy") python3 -m twine upload dist/* ;; +esac