Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix tag setup command

  • Loading branch information...
commit 990025726dd97760a7900d21e3774f961a02b496 1 parent f115e5e
Barnaby Gray authored
Showing with 1 addition and 3 deletions.
  1. +1 −3 setup.py
View
4 setup.py
@@ -17,10 +17,8 @@ def finalize_options(self):
pass
def run(self):
- import versiontools
import subprocess
- version = versiontools.format_version(__version__)
- ret = subprocess.call(['git', 'tag', '-a', version, '-m', version])
+ ret = subprocess.call(['git', 'tag', '-a', __version__, '-m', __version__])
if ret:
raise SystemExit("git tag failed")
ret = subprocess.call(['git', 'push', '--tags'])
Please sign in to comment.
Something went wrong with that request. Please try again.