ubuntu-dev-tools/setup.py
Luke Yelavich 350426ef1c * Removed ubuntu-sync and ubuntu-cd from setup.py, as they still need
some reworking before they get published in a binary package.
2007-06-26 18:25:44 +10:00

22 lines
466 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', 'pbuilder-dist',
'update-maintainer'],
)