Remove the changelog parsing from setup.py and just hardcode the version.
authorCameron Dale <camrdale@gmail.com>
Sat, 26 Apr 2008 01:57:05 +0000 (18:57 -0700)
committerCameron Dale <camrdale@gmail.com>
Sat, 26 Apr 2008 01:57:05 +0000 (18:57 -0700)
debian/control
setup.py

index 6473a61..09c68af 100644 (file)
@@ -5,7 +5,7 @@ Maintainer: Cameron Dale <camrdale@gmail.com>
 Homepage: http://www.camrdale.org/apt-p2p.html
 Standards-Version: 3.7.3
 Build-Depends: debhelper (>= 5.0.37.2)
-Build-Depends-Indep: python-dev, python-support (>= 0.5.4), po-debconf, docbook-to-man, python-debian (>= 0.1.4)
+Build-Depends-Indep: python-dev, python-support (>= 0.5.4), po-debconf, docbook-to-man
 Vcs-Git: git://git.camrdale.org/git/apt-p2p.git
 Vcs-Browser: http://git.camrdale.org/?p=apt-p2p.git;a=summary
 XS-Dm-Upload-Allowed: yes
index 189af15..bf8ef6a 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -1,19 +1,11 @@
-#!/usr/bin/env python
+#!/usr/bin/python
 
 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-p2p",
-    version = c.full_version,
+    version = "0.1.0",
     author = "Cameron Dale",
     author_email = "<camrdale@gmail.com>",
     url = "http://www.camrdale.org/apt-p2p.html",