Remove the originated time from the DHT value storage.
[quix0rs-apt-p2p.git] / setup.py
index 362d38ece2176608f4662c415d236a1046248a12..664f390e950707dacbed81ff7de6f87a84fa9e7a 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -3,9 +3,17 @@
 import sys
 from distutils.core import setup
 
+from debian_bundle import changelog
+
+f = open('debian/changelog')
+data = f.read()
+f.close()
+c = changelog.Changelog(file=data, max_blocks=1)
+del data
+
 setup(
     name = "apt-dht",
-    version = "0.0.0",
+    version = c.full_version,
     author = "Cameron Dale",
     author_email = "<camrdale@gmail.com>",
     url = "http://www.camrdale.org/apt-dht.html",