]> git.ozlabs.org Git - hiprofile/blobdiff - scripts/hiprofile
Use setuptools rather than distutils
[hiprofile] / scripts / hiprofile
index aa1e361bb48f521e994657e5a100480c35e20464..f663cce8a11626750c075afe6400c4e927fbe819 100755 (executable)
@@ -2,8 +2,6 @@
 
 import sys, os
 from optparse import OptionParser
-from django.conf import settings
-
 from hiprofile import Report, Connection, write_report
 
 resourcedir = os.path.join(os.path.dirname(__file__),
@@ -31,11 +29,6 @@ def main(args):
 
     (options, args) = parser.parse_args()
 
-    # set up django template engine
-    settings.configure(TEMPLATE_LOADERS =
-                ('django.template.loaders.filesystem.load_template_source',),
-            TEMPLATE_DIRS = (resourcedir,))
-
     conn = Connection(options.host)
 
     report = Report.extract(conn, options)