Commit 391f3e7a authored by 's avatar

Fixed setup

parent 3d8cdb3e
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
cDocumentTemplate cDocumentTemplate.c -I/projects/_/ExtensionClass cDocumentTemplate cDocumentTemplate.c -I/projects/_/ExtensionClass
# install DT_Dict.py
# install DT_Doc.py # install DT_Doc.py
# install DT_HTML.py # install DT_HTML.py
# install DT_If.py # install DT_If.py
...@@ -11,13 +10,11 @@ cDocumentTemplate cDocumentTemplate.c -I/projects/_/ExtensionClass ...@@ -11,13 +10,11 @@ cDocumentTemplate cDocumentTemplate.c -I/projects/_/ExtensionClass
# install DT_UI.py # install DT_UI.py
# install DT_Util.py # install DT_Util.py
# install DT_Var.py # install DT_Var.py
# install DT_render.py
# install DTtest.py # install DTtest.py
# install DTtest_basicIn.py # install DTtest_basicIn.py
# install DTtestExpr.py # install DTtestExpr.py
# install VSEval.py # install VSEval.py
# install DocumentTemplate.py # install DocumentTemplate.py
# install Setup
# install __init__.py # install __init__.py
# install cDocumentTemplate.c # install cDocumentTemplate.c
# install pDocumentTemplate.py # install pDocumentTemplate.py
...@@ -60,10 +60,28 @@ __doc__='''Package wrapper for Document Template ...@@ -60,10 +60,28 @@ __doc__='''Package wrapper for Document Template
This wrapper allows the (now many) document template modules to be This wrapper allows the (now many) document template modules to be
segregated in a separate package. segregated in a separate package.
$Id: __init__.py,v 1.3 1997/09/02 20:35:53 jim Exp $''' $Id: __init__.py,v 1.4 1997/09/24 16:42:35 brian Exp $'''
__version__='$Revision: 1.3 $'[11:-2] __version__='$Revision: 1.4 $'[11:-2]
import sys, string, os
__path__=__.__path__
for o in 's', 'r':
try:
s=os.popen('uname -s').read()[:-1]
r=os.popen('uname -r').read()[:-1]
if r and s:
p=(string.lower(s)+r)
if p: __path__.append("%s/bin-%s/%s" % (
__path__[0], string.split(sys.version)[0], p))
except: pass
__path__.append("%s/bin-%s/%s" % (
__path__[0], string.split(sys.version)[0], sys.platform))
import DocumentTemplate import DocumentTemplate
__.String=DocumentTemplate.String __.String=DocumentTemplate.String
__.File=DocumentTemplate.File __.File=DocumentTemplate.File
...@@ -75,6 +93,9 @@ __.html_quote=DocumentTemplate.html_quote ...@@ -75,6 +93,9 @@ __.html_quote=DocumentTemplate.html_quote
############################################################################## ##############################################################################
# #
# $Log: __init__.py,v $ # $Log: __init__.py,v $
# Revision 1.4 1997/09/24 16:42:35 brian
# Fixed setup
#
# Revision 1.3 1997/09/02 20:35:53 jim # Revision 1.3 1997/09/02 20:35:53 jim
# export html_quote # export html_quote
# #
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment