summaryrefslogtreecommitdiff
path: root/paste
diff options
context:
space:
mode:
authorianb <devnull@localhost>2005-05-29 19:02:35 +0000
committerianb <devnull@localhost>2005-05-29 19:02:35 +0000
commitbd8e807a86f909792f3bbc412492db3bb2037bfb (patch)
treebf417474fa6c4cf92dd5e2c844bb131d7fd7d067 /paste
parent8bb704d17758b32f847f72622d3f8d05ef9e10c2 (diff)
downloadpaste-bd8e807a86f909792f3bbc412492db3bb2037bfb.tar.gz
Allow _tmpl on the end of application template template files, so that .py files in their unparseable template form don't have the .py extension; updated templates with new filenames
Diffstat (limited to 'paste')
-rw-r--r--paste/app_setup.py2
-rw-r--r--paste/app_templates/wareweb_zpt_tmpl/servlet_template/web/+servlet_name+.py_tmpl (renamed from paste/app_templates/wareweb_zpt_tmpl/servlet_template/web/+servlet_name+.py)0
-rw-r--r--paste/app_templates/wareweb_zpt_tmpl/template/__init__.py_tmpl (renamed from paste/app_templates/wareweb_zpt_tmpl/template/__init__.py)0
-rw-r--r--paste/app_templates/wareweb_zpt_tmpl/template/sitepage.py_tmpl (renamed from paste/app_templates/wareweb_zpt_tmpl/template/sitepage.py)0
-rw-r--r--paste/app_templates/wareweb_zpt_tmpl/template/web/__init__.py_tmpl (renamed from paste/app_templates/wareweb_zpt_tmpl/template/web/__init__.py)0
-rw-r--r--paste/app_templates/wareweb_zpt_tmpl/template/web/index.py_tmpl (renamed from paste/app_templates/wareweb_zpt_tmpl/template/web/index.py)0
-rw-r--r--paste/app_templates/webkit_zpt_tmpl/servlet_template/web/+servlet_name+.py_tmpl (renamed from paste/app_templates/webkit_zpt_tmpl/servlet_template/web/+servlet_name+.py)0
-rw-r--r--paste/app_templates/webkit_zpt_tmpl/template/__init__.py_tmpl (renamed from paste/app_templates/webkit_zpt_tmpl/template/__init__.py)0
-rw-r--r--paste/app_templates/webkit_zpt_tmpl/template/sitepage.py_tmpl (renamed from paste/app_templates/webkit_zpt_tmpl/template/sitepage.py)0
-rw-r--r--paste/app_templates/webkit_zpt_tmpl/template/web/__init__.py_tmpl (renamed from paste/app_templates/webkit_zpt_tmpl/template/web/__init__.py)0
-rw-r--r--paste/app_templates/webkit_zpt_tmpl/template/web/index.py_tmpl (renamed from paste/app_templates/webkit_zpt_tmpl/template/web/index.py)0
11 files changed, 2 insertions, 0 deletions
diff --git a/paste/app_setup.py b/paste/app_setup.py
index 06ef3cf..b83b1dd 100644
--- a/paste/app_setup.py
+++ b/paste/app_setup.py
@@ -533,6 +533,8 @@ def copy_dir(source, dest, vars, verbosity, simulate):
print 'Skipping hidden file %s' % full
continue
dest_full = os.path.join(dest, _substitute_filename(name, vars))
+ if dest_full.endswith('_tmpl'):
+ dest_full = dest_full[:-5]
if os.path.isdir(full):
if verbosity:
print 'Recursing into %s' % full
diff --git a/paste/app_templates/wareweb_zpt_tmpl/servlet_template/web/+servlet_name+.py b/paste/app_templates/wareweb_zpt_tmpl/servlet_template/web/+servlet_name+.py_tmpl
index ee94338..ee94338 100644
--- a/paste/app_templates/wareweb_zpt_tmpl/servlet_template/web/+servlet_name+.py
+++ b/paste/app_templates/wareweb_zpt_tmpl/servlet_template/web/+servlet_name+.py_tmpl
diff --git a/paste/app_templates/wareweb_zpt_tmpl/template/__init__.py b/paste/app_templates/wareweb_zpt_tmpl/template/__init__.py_tmpl
index 1cb2d1b..1cb2d1b 100644
--- a/paste/app_templates/wareweb_zpt_tmpl/template/__init__.py
+++ b/paste/app_templates/wareweb_zpt_tmpl/template/__init__.py_tmpl
diff --git a/paste/app_templates/wareweb_zpt_tmpl/template/sitepage.py b/paste/app_templates/wareweb_zpt_tmpl/template/sitepage.py_tmpl
index fad80d9..fad80d9 100644
--- a/paste/app_templates/wareweb_zpt_tmpl/template/sitepage.py
+++ b/paste/app_templates/wareweb_zpt_tmpl/template/sitepage.py_tmpl
diff --git a/paste/app_templates/wareweb_zpt_tmpl/template/web/__init__.py b/paste/app_templates/wareweb_zpt_tmpl/template/web/__init__.py_tmpl
index 1454f37..1454f37 100644
--- a/paste/app_templates/wareweb_zpt_tmpl/template/web/__init__.py
+++ b/paste/app_templates/wareweb_zpt_tmpl/template/web/__init__.py_tmpl
diff --git a/paste/app_templates/wareweb_zpt_tmpl/template/web/index.py b/paste/app_templates/wareweb_zpt_tmpl/template/web/index.py_tmpl
index 6144e17..6144e17 100644
--- a/paste/app_templates/wareweb_zpt_tmpl/template/web/index.py
+++ b/paste/app_templates/wareweb_zpt_tmpl/template/web/index.py_tmpl
diff --git a/paste/app_templates/webkit_zpt_tmpl/servlet_template/web/+servlet_name+.py b/paste/app_templates/webkit_zpt_tmpl/servlet_template/web/+servlet_name+.py_tmpl
index 52ae6f9..52ae6f9 100644
--- a/paste/app_templates/webkit_zpt_tmpl/servlet_template/web/+servlet_name+.py
+++ b/paste/app_templates/webkit_zpt_tmpl/servlet_template/web/+servlet_name+.py_tmpl
diff --git a/paste/app_templates/webkit_zpt_tmpl/template/__init__.py b/paste/app_templates/webkit_zpt_tmpl/template/__init__.py_tmpl
index 0454673..0454673 100644
--- a/paste/app_templates/webkit_zpt_tmpl/template/__init__.py
+++ b/paste/app_templates/webkit_zpt_tmpl/template/__init__.py_tmpl
diff --git a/paste/app_templates/webkit_zpt_tmpl/template/sitepage.py b/paste/app_templates/webkit_zpt_tmpl/template/sitepage.py_tmpl
index 7ab073c..7ab073c 100644
--- a/paste/app_templates/webkit_zpt_tmpl/template/sitepage.py
+++ b/paste/app_templates/webkit_zpt_tmpl/template/sitepage.py_tmpl
diff --git a/paste/app_templates/webkit_zpt_tmpl/template/web/__init__.py b/paste/app_templates/webkit_zpt_tmpl/template/web/__init__.py_tmpl
index 1454f37..1454f37 100644
--- a/paste/app_templates/webkit_zpt_tmpl/template/web/__init__.py
+++ b/paste/app_templates/webkit_zpt_tmpl/template/web/__init__.py_tmpl
diff --git a/paste/app_templates/webkit_zpt_tmpl/template/web/index.py b/paste/app_templates/webkit_zpt_tmpl/template/web/index.py_tmpl
index e095943..e095943 100644
--- a/paste/app_templates/webkit_zpt_tmpl/template/web/index.py
+++ b/paste/app_templates/webkit_zpt_tmpl/template/web/index.py_tmpl