Mercurial > p > roundup > code
comparison setup.py @ 2111:7b06875e3774 maint-0.6
fixes
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Thu, 25 Mar 2004 00:32:30 +0000 |
| parents | fd4763c6efae |
| children | a467ee0f77dc |
comparison
equal
deleted
inserted
replaced
| 2110:e53972f581e3 | 2111:7b06875e3774 |
|---|---|
| 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.55.2.8 2004-03-01 00:07:27 richard Exp $ | 19 # $Id: setup.py,v 1.55.2.9 2004-03-25 00:32:30 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 |
| 156 if os.name == 'posix': | 156 if os.name == 'posix': |
| 157 installdatafiles.append(('man/man1', ['doc/roundup-admin.1', | 157 installdatafiles.append(('man/man1', ['doc/roundup-admin.1', |
| 158 'doc/roundup-mailgw.1', 'doc/roundup-server.1'])) | 158 'doc/roundup-mailgw.1', 'doc/roundup-server.1'])) |
| 159 | 159 |
| 160 # add the templates to the data files lists | 160 # add the templates to the data files lists |
| 161 from roundup.admin import listTemplates | 161 from roundup.init import listTemplates |
| 162 templates = [t['path'] for t in listTemplates('templates').values()] | 162 templates = [t['path'] for t in listTemplates('templates').values()] |
| 163 for tdir in templates: | 163 for tdir in templates: |
| 164 # scan for data files | 164 # scan for data files |
| 165 for idir in '. detectors html'.split(): | 165 for idir in '. detectors html'.split(): |
| 166 idir = os.path.join(tdir, idir) | 166 idir = os.path.join(tdir, idir) |
