Mercurial > p > roundup > code
comparison setup.py @ 1594:eee8b5eecb33
oops, use correct templates source dir
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Sat, 19 Apr 2003 05:03:54 +0000 |
| parents | 21312a7564fd |
| children | 7034b61e9d9e |
comparison
equal
deleted
inserted
replaced
| 1593:6318b21b0f73 | 1594:eee8b5eecb33 |
|---|---|
| 14 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS | 14 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS |
| 15 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" | 15 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" |
| 16 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, | 16 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, |
| 17 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. | 17 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. |
| 18 # | 18 # |
| 19 # $Id: setup.py,v 1.48 2003-04-17 03:37:57 richard Exp $ | 19 # $Id: setup.py,v 1.49 2003-04-19 05:03:54 richard Exp $ |
| 20 | 20 |
| 21 from distutils.core import setup, Extension | 21 from distutils.core import setup, Extension |
| 22 from distutils.util import get_platform | 22 from distutils.util import get_platform |
| 23 from distutils.command.build_scripts import build_scripts | 23 from distutils.command.build_scripts import build_scripts |
| 24 | 24 |
| 145 installdatafiles.append(('man/man1', ['doc/roundup-admin.1', | 145 installdatafiles.append(('man/man1', ['doc/roundup-admin.1', |
| 146 'doc/roundup-mailgw.1', 'doc/roundup-server.1'])) | 146 'doc/roundup-mailgw.1', 'doc/roundup-server.1'])) |
| 147 | 147 |
| 148 # add the templates to the data files lists | 148 # add the templates to the data files lists |
| 149 from roundup.admin import listTemplates | 149 from roundup.admin import listTemplates |
| 150 templates = [t['path'] for t in listTemplates('.').values()] | 150 templates = [t['path'] for t in listTemplates('templates').values()] |
| 151 for tdir in templates: | 151 for tdir in templates: |
| 152 # scan for data files | 152 # scan for data files |
| 153 for idir in '. detectors html'.split(): | 153 for idir in '. detectors html'.split(): |
| 154 idir = os.path.join(tdir, idir) | 154 idir = os.path.join(tdir, idir) |
| 155 tfiles = [] | 155 tfiles = [] |
