Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix NotDefined Error.

  • Loading branch information...
commit 58ab2a89028dd4a1e255e08a9d2310d12a611e18 1 parent fc3e0b8
Marko Tibold markotibold authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 setup.py
4 setup.py
View
@@ -2,6 +2,8 @@
import sys
from setuptools import setup, find_packages
+version = __import__('deploytool').__version__
+
if sys.argv[-1] == 'publish': # upload to pypi
os.system("python setup.py register sdist upload")
print "You probably want to also tag the version now:"
@@ -11,7 +13,7 @@
setup(
name='deploytool',
- version=__import__('deploytool').__version__,
+ version=version,
license='Apache License, Version 2.0',
install_requires=[
Please sign in to comment.
Something went wrong with that request. Please try again.