From: Eevee Date: Sun, 16 May 2010 03:29:22 +0000 (-0700) Subject: Great Migration: spline.plugins => splinext X-Git-Tag: veekun-promotions/2010051501^0 X-Git-Url: http://git.veekun.com/zzz-spline-forum.git/commitdiff_plain/d2ee32dbc7d8987a3408889daa1d27b3533bfa27 Great Migration: spline.plugins => splinext --- diff --git a/setup.py b/setup.py index 5e736f3..1a4f1f7 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ setup( 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 index de40ea7..0000000 --- a/spline/__init__.py +++ /dev/null @@ -1 +0,0 @@ -__import__('pkg_resources').declare_namespace(__name__) diff --git a/spline/plugins/__init__.py b/splinext/__init__.py similarity index 100% rename from spline/plugins/__init__.py rename to splinext/__init__.py diff --git a/spline/plugins/forum/__init__.py b/splinext/forum/__init__.py similarity index 87% rename from spline/plugins/forum/__init__.py rename to splinext/forum/__init__.py index bd48a20..55ffaa2 100644 --- a/spline/plugins/forum/__init__.py +++ b/splinext/forum/__init__.py @@ -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.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.""" @@ -20,7 +20,7 @@ def add_routes_hook(map, *args, **kwargs): class ForumPlugin(PluginBase): def controllers(self): return dict( - forum = spline.plugins.forum.controllers.forum.ForumController, + forum = splinext.forum.controllers.forum.ForumController, ) def model(self): diff --git a/spline/plugins/forum/controllers/__init__.py b/splinext/forum/controllers/__init__.py similarity index 100% rename from spline/plugins/forum/controllers/__init__.py rename to splinext/forum/controllers/__init__.py diff --git a/spline/plugins/forum/controllers/forum.py b/splinext/forum/controllers/forum.py similarity index 100% rename from spline/plugins/forum/controllers/forum.py rename to splinext/forum/controllers/forum.py diff --git a/spline/plugins/forum/model/__init__.py b/splinext/forum/model/__init__.py similarity index 100% rename from spline/plugins/forum/model/__init__.py rename to splinext/forum/model/__init__.py diff --git a/spline/plugins/forum/templates/css/forum.mako b/splinext/forum/templates/css/forum.mako similarity index 100% rename from spline/plugins/forum/templates/css/forum.mako rename to splinext/forum/templates/css/forum.mako diff --git a/spline/plugins/forum/templates/forum/forums.mako b/splinext/forum/templates/forum/forums.mako similarity index 100% rename from spline/plugins/forum/templates/forum/forums.mako rename to splinext/forum/templates/forum/forums.mako diff --git a/spline/plugins/forum/templates/forum/posts.mako b/splinext/forum/templates/forum/posts.mako similarity index 100% rename from spline/plugins/forum/templates/forum/posts.mako rename to splinext/forum/templates/forum/posts.mako diff --git a/spline/plugins/forum/templates/forum/threads.mako b/splinext/forum/templates/forum/threads.mako similarity index 100% rename from spline/plugins/forum/templates/forum/threads.mako rename to splinext/forum/templates/forum/threads.mako