Commits

Christian Heimes committed bf54578

add version from defusedxml and use it in setup.py

  • Participants
  • Parent commits bdc9951

Comments (0)

Files changed (2)

defusedxml/__init__.py

 #from . import xmlrpc
 #from . import expatbuilder
 #from . import expatreader
+
+__version__ = "0.2dev"
+
 from distutils.core import setup, Command
 import subprocess
 
+import defusedxml
+
 class PyTest(Command):
     user_options = []
     def initialize_options(self):
 
 setup(
     name="defusedxml",
-    version="0.2dev",
+    version=defusedxml.__version__,
     cmdclass={"test": PyTest},
     packages=["defusedxml"],
     author="Christian Heimes",