From f4ec4385b2ae329e2098ac9b7e2ff39d3ea0717f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Asger=20Geel=20Weirs=C3=B8e?= Date: Sat, 5 Sep 2020 12:36:16 +0200 Subject: [PATCH] v0.1.2 --- build.py | 8 +++++++- setup.py | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/build.py b/build.py index 253bb2c..7f86939 100644 --- a/build.py +++ b/build.py @@ -15,6 +15,11 @@ def main(): action='store_true', help='Build to pypi.org' ) + group.add_argument( + '--check', + action='store_true', + help='Displays the twine check for dist' + ) args = parser.parse_args() @@ -23,7 +28,8 @@ def main(): subprocess.call(['twine', 'upload', '--config-file', '.pypirc', '--repository', 'testpypi', 'dist/*']) elif args.re: subprocess.call(['twine', 'upload', '--config-file', '.pypirc', '--repository', 'pypi', 'dist/*']) - + else: + subprocess.call(['twine', 'check', 'dist/*']) if __name__ == '__main__': main() diff --git a/setup.py b/setup.py index 2c159e3..42b9221 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ with open('README.rst', 'r') as fh: setup( name='pi3-smart-workspace', - version='0.1.1', + version='0.1.2', packages=['pi3'], url='https://github.com/GeneralDenmark/PyOutputHandler', license='Apache-2.0 License ',