Commits

David Black [Atlassian] committed ef65468

Determine the version number dynamically.

Signed-off-by: David Black <dblack@atlassian.com>

Comments (0)

Files changed (2)

junit_xml_output/__init__.py

 import xml.dom.minidom
 
 
+__version__ = "0.0.1"
+
 class JunitXml(object):
 	""" A class which is designed to create a junit test xml file.
 	    Note: currently this class is designed to return the junit xml file
 	description=read('README.md'),
 	long_description=read('README.md'),
 	license = "MIT",
-	version = "0.0.1"
-	)
+	version = __import__('junit_xml_output').__version__,
+)