From: Cameron Dale Date: Sat, 26 Apr 2008 01:57:05 +0000 (-0700) Subject: Remove the changelog parsing from setup.py and just hardcode the version. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2ddf7b9797406505aa3ee1c40de12843b711eefd;p=quix0rs-apt-p2p.git Remove the changelog parsing from setup.py and just hardcode the version. --- 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",