From 2ddf7b9797406505aa3ee1c40de12843b711eefd Mon Sep 17 00:00:00 2001 From: Cameron Dale Date: Fri, 25 Apr 2008 18:57:05 -0700 Subject: [PATCH] Remove the changelog parsing from setup.py and just hardcode the version. --- debian/control | 2 +- setup.py | 12 ++---------- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/debian/control b/debian/control index 6473a61..09c68af 100644 --- a/debian/control +++ b/debian/control @@ -5,7 +5,7 @@ Maintainer: Cameron Dale 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 diff --git a/setup.py b/setup.py index 189af15..bf8ef6a 100755 --- 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 = "", url = "http://www.camrdale.org/apt-p2p.html", -- 2.39.5