X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-vnc-server.git/blobdiff_plain/38fc59e7dacf4da5c822d7dda78f57a4596e8eef..9947f1d2c7f3b243de5a53ebbd8980d791d68bf1:/setup.py?ds=inline diff --git a/setup.py b/setup.py new file mode 100755 index 0000000..5d3fb46 --- /dev/null +++ b/setup.py @@ -0,0 +1,24 @@ +#!/usr/bin/python + +from os import path +from debian_bundle.changelog import Changelog +from debian_bundle.deb822 import Deb822 +from email.utils import parseaddr +from setuptools import setup + +version = Changelog(open(path.join(path.dirname(__file__), 'debian/changelog')).read()).\ + get_version().full_version + +maintainer_full = Deb822(open(path.join(path.dirname(__file__), 'debian/control')))['Maintainer'] +maintainer, maintainer_email = parseaddr(maintainer_full) + +setup( + name='invirt.vnc', + version=version, + maintainer=maintainer, + maintainer_email=maintainer_email, + + packages = ['invirt.vnc'], + package_dir = {'invirt': 'python'}, + scripts=['sipb-xen-vnc-server'] +)