projects
/
quix0rs-apt-p2p.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Store the peer rank as an attribute and recalculate it automatically.
[quix0rs-apt-p2p.git]
/
setup.py
diff --git
a/setup.py
b/setup.py
index 362d38ece2176608f4662c415d236a1046248a12..189af152c34d87574d967ab46fa443afc8536c85 100755
(executable)
--- a/
setup.py
+++ b/
setup.py
@@
-3,15
+3,23
@@
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(
setup(
- name = "apt-
dht
",
- version =
"0.0.0"
,
+ name = "apt-
p2p
",
+ version =
c.full_version
,
author = "Cameron Dale",
author_email = "<camrdale@gmail.com>",
author = "Cameron Dale",
author_email = "<camrdale@gmail.com>",
- url = "http://www.camrdale.org/apt-
dht
.html",
+ url = "http://www.camrdale.org/apt-
p2p
.html",
license = "GPL",
license = "GPL",
- packages = ["apt_
dht", "apt_dht
_Khashmir"],
+ packages = ["apt_
p2p", "apt_p2p
_Khashmir"],
- scripts = ['apt-
dht
.py']
+ scripts = ['apt-
p2p
.py']
)
)