diff --git a/setup.py b/setup.py index dbf94618..1e9003f0 100644 --- a/setup.py +++ b/setup.py @@ -29,11 +29,11 @@ with open('VERSION') as version: # Helper commands. if sys.argv[-1] == 'publish': os.system('python setup.py sdist upload') - print('You probably want to also tag the version now:') - print(' git tag -a %s -m \'version %s\'' % (version, version)) - print(' git push --tags') sys.exit() - +if sys.argv[-1] == 'tag': + os.system('git tag -a {0} -m \'version {0}\''.format(version)) + os.system('git push --tags') + sys.exit() setup( name='Objects', diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 00000000..e69de29b