Commits

cur...@tinbrain.net  committed 0ec9f25

Changed to gnocchi_tools namespace

  • Participants
  • Parent commits 9dddae9

Comments (0)

Files changed (4)

 from distutils.core import setup
 
 setup( name='gnocchi-tools',
-    version = '1.0',
+    version = '1.0.1',
     description = 'Common tools used by Gnocchi apps',
     author = 'Curtis Maloney',
     author_email = 'curtis@tinbrain.net',
     url = 'http://bitbucket.org/funkybob/gnocchi-tools/',
     keywords = ['django', 'gnocchi',],
     packages = [
-        'gnocchi2.tools',
+        'gnocchi_tools',
     ],
     package_dir = {
-        'gnocchi2.tools': 'tools',
+        'gnocchi_tools': 'tools',
     },
     zip_safe = False,
     classifiers = [

File tools/__init__.py

 
-from gnocchi2.tools import template
-
+from gnocchi_tools import template

File tools/admin.py

 from django.contrib.contenttypes import generic
-from gnocchi2.tools import models
+from gnocchi_tools import models
 from django.http import HttpResponse
 import csv
 

File tools/template.py

 
 def parse_args(parser, token, as_name=False):
     '''Parse token args, returning a list of args, and dict of keyword args
-    
+
     If as_name is passed, the last two args of the tag may be "as {name}"
     If so, as_name will be set to the name.
     '''
         else:
             args.append(parser.compile_filter(arg))
     return args, kwargs, as_name
-