Mercurial > p > roundup > code
comparison setup.py @ 2684:94229a0832bd
install extensions directories in tracker templates.
fix vim modeline.
| author | Alexander Smishlajev <a1s@users.sourceforge.net> |
|---|---|
| date | Sat, 25 Sep 2004 16:14:32 +0000 |
| parents | 487d9256f32e |
| children | 10e96f3ee658 |
comparison
equal
deleted
inserted
replaced
| 2683:99a7af55b9e0 | 2684:94229a0832bd |
|---|---|
| 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.70 2004-06-13 00:27:05 richard Exp $ | 19 # $Id: setup.py,v 1.71 2004-09-25 16:14:32 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 |
| 267 # add the templates to the data files lists | 267 # add the templates to the data files lists |
| 268 from roundup.init import listTemplates | 268 from roundup.init import listTemplates |
| 269 templates = [t['path'] for t in listTemplates('templates').values()] | 269 templates = [t['path'] for t in listTemplates('templates').values()] |
| 270 for tdir in templates: | 270 for tdir in templates: |
| 271 # scan for data files | 271 # scan for data files |
| 272 for idir in '. detectors html'.split(): | 272 for idir in '. detectors extensions html'.split(): |
| 273 idir = os.path.join(tdir, idir) | 273 idir = os.path.join(tdir, idir) |
| 274 tfiles = [] | 274 tfiles = [] |
| 275 for f in os.listdir(idir): | 275 for f in os.listdir(idir): |
| 276 if f.startswith('.'): | 276 if f.startswith('.'): |
| 277 continue | 277 continue |
| 352 ) | 352 ) |
| 353 | 353 |
| 354 if __name__ == '__main__': | 354 if __name__ == '__main__': |
| 355 main() | 355 main() |
| 356 | 356 |
| 357 # vim: set filetype=python ts=4 sw=4 et si | 357 # vim: set filetype=python sts=4 sw=4 et si : |
