From a874f901fdfc61505ed5cc17c56dde70b30a58d7 Mon Sep 17 00:00:00 2001 From: xymy Date: Wed, 11 Mar 2020 12:10:46 +0800 Subject: [PATCH] Update config --- .gitignore | 1 - build.py | 11 +++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 build.py diff --git a/.gitignore b/.gitignore index b49e796..873c5b9 100644 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,3 @@ /venv/ /*.egg-info/ __pycache__/ -/build.* diff --git a/build.py b/build.py new file mode 100644 index 0000000..3747f6e --- /dev/null +++ b/build.py @@ -0,0 +1,11 @@ +import os + +commands = """ +python setup.py clean --all +python setup.py build sdist bdist_wheel +""" + +for command in commands.splitlines(): + if command.isspace(): + continue + os.system(command)