diff options
-rw-r--r-- | setup.py | 15 |
1 files changed, 13 insertions, 2 deletions
@@ -1,9 +1,19 @@ #!/usr/bin/env python from distutils.core import setup +import os + +VERSION='1.0' + +webfiles = [] +for dirpath, dirnames, filenames in os.walk('web/'): + dirprefix = "/usr/share/collagen-%s/%s" % (VERSION, dirpath) + for fname in filenames: + webfiles.append((dirprefix, [os.path.join(dirpath, fname)])) + setup(name='Collagen', - version='1.0', + version=VERSION, description='Gentoo portage tree-wide files database', author='Stanislav Ochotnicky', author_email='stanislav@ochotnicky.com', @@ -17,6 +27,7 @@ setup(name='Collagen', 'collagen/common', 'collagen/protocol', 'collagen/util/'], - scripts=['src/matchbox.py', 'src/tinderbox.py','util/mktinderboxchroot.sh'] + scripts=['src/matchbox.py', 'src/tinderbox.py','util/mktinderboxchroot.sh'], + data_files = webfiles ) |