Skip to content

Commit f3e0afd

Browse files
author
Richard Jones
committed
cleanup: moved templatebuilder into templates.builder
1 parent 1e76e1f commit f3e0afd

File tree

5 files changed

+15
-38
lines changed

5 files changed

+15
-38
lines changed

roundup/init.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1717
#
18-
# $Id: init.py,v 1.20 2002-07-14 02:05:53 richard Exp $
18+
# $Id: init.py,v 1.21 2002-08-16 04:25:03 richard Exp $
1919

2020
__doc__ = """
2121
Init (create) a roundup instance.
@@ -87,14 +87,14 @@ def install(instance_home, template, backend):
8787
the template.
8888
'''
8989
# first, copy the template dir over
90-
import roundup.templatebuilder
90+
from roundup.templates import builder
9191

9292
template_dir = os.path.split(__file__)[0]
9393
template_name = template
9494
template = os.path.join(template_dir, 'templates', template)
9595
copytree(template, instance_home)
9696

97-
roundup.templatebuilder.installHtmlBase(template_name, instance_home)
97+
builder.installHtmlBase(template_name, instance_home)
9898

9999
# now select database
100100
db = '''# WARNING: DO NOT EDIT THIS FILE!!!
@@ -114,6 +114,9 @@ def initialise(instance_home, adminpw):
114114

115115
#
116116
# $Log: not supported by cvs2svn $
117+
# Revision 1.20 2002/07/14 02:05:53 richard
118+
# . all storage-specific code (ie. backend) is now implemented by the backends
119+
#
117120
# Revision 1.19 2002/05/23 01:14:20 richard
118121
# . split instance initialisation into two steps, allowing config changes
119122
# before the database is initialised.
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1717
#
18-
# $Id: templatebuilder.py,v 1.14 2002-02-05 09:59:05 grubert Exp $
18+
# $Id: builder.py,v 1.1 2002-08-16 04:25:03 richard Exp $
1919
import errno, re
2020

2121
__doc__ = """
@@ -89,6 +89,9 @@ def installHtmlBase(template, installDir):
8989

9090
#
9191
# $Log: not supported by cvs2svn $
92+
# Revision 1.14 2002/02/05 09:59:05 grubert
93+
# . makeHtmlBase: re.sub under python 2.2 did not replace '.', string.replace does it.
94+
#
9295
# Revision 1.13 2001/11/22 15:46:42 jhermann
9396
# Added module docstrings to all modules.
9497
#

roundup/templates/cpp_template

Lines changed: 0 additions & 16 deletions
This file was deleted.

roundup/templates/header_template

Lines changed: 0 additions & 16 deletions
This file was deleted.

setup.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1717
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1818
#
19-
# $Id: setup.py,v 1.35 2002-06-17 23:14:44 richard Exp $
19+
# $Id: setup.py,v 1.36 2002-08-16 04:25:01 richard Exp $
2020

2121
from distutils.core import setup, Extension
2222
from distutils.util import get_platform
@@ -25,7 +25,7 @@
2525
import sys, os, string
2626
from glob import glob
2727

28-
from roundup.templatebuilder import makeHtmlBase
28+
from roundup.templates.builder import makeHtmlBase
2929

3030

3131
#############################################################################
@@ -189,6 +189,9 @@ def buildTemplates():
189189

190190
#
191191
# $Log: not supported by cvs2svn $
192+
# Revision 1.35 2002/06/17 23:14:44 richard
193+
# . #569415 ] {version}
194+
#
192195
# Revision 1.34 2002/05/29 01:16:16 richard
193196
# Sorry about this huge checkin! It's fixing a lot of related stuff in one go
194197
# though.

0 commit comments

Comments
 (0)