Great Migration: spline.plugins => splinext veekun-promotions/2010051501
authorEevee <git@veekun.com>
Sun, 16 May 2010 03:29:22 +0000 (20:29 -0700)
committerEevee <git@veekun.com>
Sun, 16 May 2010 03:29:22 +0000 (20:29 -0700)
setup.py
spline/__init__.py [deleted file]
splinext/__init__.py [moved from spline/plugins/__init__.py with 100% similarity]
splinext/forum/__init__.py [moved from spline/plugins/forum/__init__.py with 87% similarity]
splinext/forum/controllers/__init__.py [moved from spline/plugins/forum/controllers/__init__.py with 100% similarity]
splinext/forum/controllers/forum.py [moved from spline/plugins/forum/controllers/forum.py with 100% similarity]
splinext/forum/model/__init__.py [moved from spline/plugins/forum/model/__init__.py with 100% similarity]
splinext/forum/templates/css/forum.mako [moved from spline/plugins/forum/templates/css/forum.mako with 100% similarity]
splinext/forum/templates/forum/forums.mako [moved from spline/plugins/forum/templates/forum/forums.mako with 100% similarity]
splinext/forum/templates/forum/posts.mako [moved from spline/plugins/forum/templates/forum/posts.mako with 100% similarity]
splinext/forum/templates/forum/threads.mako [moved from spline/plugins/forum/templates/forum/threads.mako with 100% similarity]

index 5e736f3..1a4f1f7 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -13,7 +13,7 @@ setup(
 
     zip_safe = False,
 
 
     zip_safe = False,
 
-    entry_points = {'spline.plugins': 'forum = spline.plugins.forum:ForumPlugin'},
+    entry_points = {'spline.plugins': 'forum = splinext.forum:ForumPlugin'},
 
 
-    namespace_packages = ['spline', 'spline.plugins'],
+    namespace_packages = ['splinext'],
 )
 )
diff --git a/spline/__init__.py b/spline/__init__.py
deleted file mode 100644 (file)
index de40ea7..0000000
+++ /dev/null
@@ -1 +0,0 @@
-__import__('pkg_resources').declare_namespace(__name__)
similarity index 87%
rename from spline/plugins/forum/__init__.py
rename to splinext/forum/__init__.py
index bd48a20..55ffaa2 100644 (file)
@@ -7,8 +7,8 @@ from spline.lib.plugin import PluginBase, PluginLink, Priority
 import spline.model as model
 import spline.model.meta as meta
 
 import spline.model as model
 import spline.model.meta as meta
 
-import spline.plugins.forum.controllers.forum
-import spline.plugins.forum.model
+import splinext.forum.controllers.forum
+import splinext.forum.model
 
 def add_routes_hook(map, *args, **kwargs):
     """Hook to inject some of our behavior into the routes configuration."""
 
 def add_routes_hook(map, *args, **kwargs):
     """Hook to inject some of our behavior into the routes configuration."""
@@ -20,7 +20,7 @@ def add_routes_hook(map, *args, **kwargs):
 class ForumPlugin(PluginBase):
     def controllers(self):
         return dict(
 class ForumPlugin(PluginBase):
     def controllers(self):
         return dict(
-            forum = spline.plugins.forum.controllers.forum.ForumController,
+            forum = splinext.forum.controllers.forum.ForumController,
         )
 
     def model(self):
         )
 
     def model(self):