mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-13 08:01:09 +00:00
automatically. * doc/revuput.1.docbook, debian/control, debian/rules: build manpage for it from DocBook. * setup.py: install it.
32 lines
746 B
Python
Executable File
32 lines
746 B
Python
Executable File
#!/usr/bin/env python
|
|
|
|
from distutils.core import setup
|
|
import glob
|
|
import os
|
|
import re
|
|
|
|
# look/set what version we have
|
|
changelog = "debian/changelog"
|
|
if os.path.exists(changelog):
|
|
head=open(changelog).readline()
|
|
match = re.compile(".*\((.*)\).*").match(head)
|
|
if match:
|
|
version = match.group(1)
|
|
|
|
setup(name='ubuntu-dev-tools',
|
|
version=version,
|
|
scripts=['404main',
|
|
'check-symbols',
|
|
'get-branches',
|
|
'pbuilder-dist',
|
|
'update-maintainer',
|
|
'dch-repeat',
|
|
'mk-sbuild-lv',
|
|
'pull-debian-debdiff',
|
|
'what-patch',
|
|
'suspicious-source',
|
|
'revuput'
|
|
],
|
|
)
|
|
|