Mercurial > p > roundup > code
comparison setup.py @ 2846:fdad30b046e2
install roundup-demo man page
| author | Alexander Smishlajev <a1s@users.sourceforge.net> |
|---|---|
| date | Sun, 31 Oct 2004 08:56:39 +0000 |
| parents | 10e96f3ee658 |
| children | 67bf41bf8165 |
comparison
equal
deleted
inserted
replaced
| 2845:1455fcabc49e | 2846:fdad30b046e2 |
|---|---|
| 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.72 2004-10-18 07:51:46 a1s Exp $ | 19 # $Id: setup.py,v 1.73 2004-10-31 08:56:39 a1s 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 from distutils.command.build import build | 24 from distutils.command.build import build |
| 278 py_modules = ['roundup.demo',] | 278 py_modules = ['roundup.demo',] |
| 279 | 279 |
| 280 # install man pages on POSIX platforms | 280 # install man pages on POSIX platforms |
| 281 if os.name == 'posix': | 281 if os.name == 'posix': |
| 282 installdatafiles.append(('man/man1', ['doc/roundup-admin.1', | 282 installdatafiles.append(('man/man1', ['doc/roundup-admin.1', |
| 283 'doc/roundup-mailgw.1', 'doc/roundup-server.1'])) | 283 'doc/roundup-mailgw.1', 'doc/roundup-server.1', |
| 284 'doc/roundup-demo.1'])) | |
| 284 | 285 |
| 285 # add the templates to the data files lists | 286 # add the templates to the data files lists |
| 286 from roundup.init import listTemplates | 287 from roundup.init import listTemplates |
| 287 templates = [t['path'] for t in listTemplates('templates').values()] | 288 templates = [t['path'] for t in listTemplates('templates').values()] |
| 288 for tdir in templates: | 289 for tdir in templates: |
