source: trunk/packages/invirt-dev/setup.py @ 3052

Last change on this file since 3052 was 3040, checked in by gdb, 14 years ago

Added script for creating new repositories

  • Property svn:executable set to *
File size: 781 bytes
RevLine 
[2547]1#!/usr/bin/python
2
3from os import path
4from debian_bundle.changelog import Changelog
5from debian_bundle.deb822 import Deb822
6from email.utils import parseaddr
7from glob import glob
8from setuptools import setup
9
10version = Changelog(open(path.join(path.dirname(__file__), 'debian/changelog')).read()).\
11    get_version().full_version
12
13maintainer_full = Deb822(open(path.join(path.dirname(__file__), 'debian/control')))['Maintainer']
14maintainer, maintainer_email = parseaddr(maintainer_full)
15
16setup(
17    name='invirt.builder',
18    version=version,
19    maintainer=maintainer,
20    maintainer_email=maintainer_email,
21
22    py_modules = ['invirt.builder'],
23    package_dir = {'': 'python'},
[3040]24    scripts = ['invirtibuilder', 'invirt-build-conf', 'invirt-submit-build', 'invirt-add-repo']
[2547]25)
Note: See TracBrowser for help on using the repository browser.