projects
/
quix0rs-apt-p2p.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
872f3e2
)
Remove the changelog parsing from setup.py and just hardcode the version.
author
Cameron Dale
<camrdale@gmail.com>
Sat, 26 Apr 2008 01:57:05 +0000
(18:57 -0700)
committer
Cameron Dale
<camrdale@gmail.com>
Sat, 26 Apr 2008 01:57:05 +0000
(18:57 -0700)
debian/control
patch
|
blob
|
history
setup.py
patch
|
blob
|
history
diff --git
a/debian/control
b/debian/control
index 6473a6138b727838387ec662f0f67d0b6228e200..09c68af6a0ed93e40432553b1048690efe7ea7fd 100644
(file)
--- a/
debian/control
+++ b/
debian/control
@@
-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)
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
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 189af152c34d87574d967ab46fa443afc8536c85..bf8ef6a287e4b1e15f521048ea367fb27146f67b 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
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",
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",
author = "Cameron Dale",
author_email = "<camrdale@gmail.com>",
url = "http://www.camrdale.org/apt-p2p.html",