Factor out version information to central location

Signed-off-by: martin f. krafft <madduck@madduck.net>
diff --git a/reclass/main.py b/reclass/main.py
index a1ee0a9..f513b7d 100644
--- a/reclass/main.py
+++ b/reclass/main.py
@@ -6,12 +6,8 @@
 # Copyright © 2007–13 martin f. krafft <madduck@madduck.net>
 # Released under the terms of the Artistic Licence 2.0
 #
-__name__ = 'reclass'
-__description__ = 'classify nodes based on an external data source'
-__version__ = '1.0'
-__author__ = 'martin f. krafft <madduck@madduck.net>'
-__copyright__ = 'Copyright © 2007–13 ' + __author__
-__licence__ = 'Artistic Licence 2.0'
+from version import __name__, __description__ , __version__, \
+        __author__, __copyright__, __licence__
 
 import sys, os, posix
 import reclass.config
diff --git a/reclass/version.py b/reclass/version.py
new file mode 100644
index 0000000..7329eee
--- /dev/null
+++ b/reclass/version.py
@@ -0,0 +1,16 @@
+#
+# -*- coding: utf-8 -*-
+#
+# This file is part of reclass (http://github.com/madduck/reclass)
+#
+# Copyright © 2007–13 martin f. krafft <madduck@madduck.net>
+# Released under the terms of the Artistic Licence 2.0
+#
+__name__ = 'reclass'
+__description__ = 'classify nodes based on an external data source'
+__version__ = '1.0'
+__author__ = 'martin f. krafft <madduck@madduck.net>'
+__copyright__ = 'Copyright © 2007–13 ' + __author__
+__licence__ = 'Artistic Licence 2.0'
+
+__all__ = [__name__, __description__, __version__, __author__, __copyright__, __licence__]
diff --git a/setup.py b/setup.py
index 9e5911f..ff5f077 100644
--- a/setup.py
+++ b/setup.py
@@ -1,7 +1,8 @@
 from setuptools import setup, find_packages
+from reclass.version import __name__, __version__
 setup(
-    name = "Reclass",
-    version = "1.0",
+    name = __name__,
+    version = __version__,
     packages = find_packages(), 
     entry_points = {
       'console_scripts': ['reclass = reclass.main:run' ],