X-Git-Url: https://git.mxchange.org/?p=quix0rs-apt-p2p.git;a=blobdiff_plain;f=setup.py;h=189af152c34d87574d967ab46fa443afc8536c85;hp=362d38ece2176608f4662c415d236a1046248a12;hb=eaecf245ed359e161b761e9c2d9ace4598ca5a20;hpb=a839a3f5c0091d275c64159ded0e12d36b5e2bdb diff --git a/setup.py b/setup.py index 362d38e..189af15 100755 --- a/setup.py +++ b/setup.py @@ -3,15 +3,23 @@ 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-dht", - version = "0.0.0", + name = "apt-p2p", + version = c.full_version, author = "Cameron Dale", author_email = "", - url = "http://www.camrdale.org/apt-dht.html", + url = "http://www.camrdale.org/apt-p2p.html", license = "GPL", - packages = ["apt_dht", "apt_dht_Khashmir"], + packages = ["apt_p2p", "apt_p2p_Khashmir"], - scripts = ['apt-dht.py'] + scripts = ['apt-p2p.py'] )