ubuntu-dev-tools/setup.py
Martin Pitt a90efc7ba2 * Add suspicious-source: Output a list of files which are not common source
files. This should be run in the root of a source tree to find files which
  might not be the 'prefered form of modification' that the GPL and other
  licenses require.
2007-07-09 16:17:24 +01:00

30 lines
638 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',
'dch-repeat',
'mk-sbuild-lv',
'pull-debian-debdiff',
'what-patch',
'suspicious-source',
],
)