Mercurial > p > roundup > code
comparison roundup/templatebuilder.py @ 102:0b250446cf8b
Fixed some problems with installation.
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Sat, 28 Jul 2001 00:31:10 +0000 |
| parents | 0eed07d99b98 |
| children | 2ab86442799a |
comparison
equal
deleted
inserted
replaced
| 101:f55b8be00de5 | 102:0b250446cf8b |
|---|---|
| 32 else: | 32 else: |
| 33 raise "TemplateError", \ | 33 raise "TemplateError", \ |
| 34 "couldn't find roundup.template.%s.htmlbase"%template | 34 "couldn't find roundup.template.%s.htmlbase"%template |
| 35 htmlbase = tmod.htmlbase | 35 htmlbase = tmod.htmlbase |
| 36 installDir = os.path.join(installDir, 'html') | 36 installDir = os.path.join(installDir, 'html') |
| 37 os.makedirs(installDir) | |
| 37 | 38 |
| 38 print "installing from", htmlbase.__file__, "into", installDir | 39 print "installing from", htmlbase.__file__, "into", installDir |
| 39 modulecontents = dir(htmlbase) | 40 modulecontents = dir(htmlbase) |
| 40 for mangledfile in modulecontents: | 41 for mangledfile in modulecontents: |
| 41 if mangledfile[0] == "_": | 42 if mangledfile[0] == "_": |
