name = 'spline-gts',
version = '0.1',
packages = find_packages(),
-
+
install_requires = [
'spline',
'spline-users',
zip_safe = False,
- entry_points = {'spline.plugins': 'gts = spline.plugins.gts:GTSPlugin'},
+ entry_points = {'spline.plugins': 'gts = splinext.gts:GTSPlugin'},
- namespace_packages = ['spline', 'spline.plugins'],
+ namespace_packages = ['splinext'],
)
import spline.model as model
import spline.model.meta as meta
-import spline.plugins.gts.controllers.gts
-import spline.plugins.gts.model
+import splinext.gts.controllers.gts
+import splinext.gts.model
def add_routes_hook(map, *args, **kwargs):
"""Hook to inject some of our behavior into the routes configuration."""
class GTSPlugin(PluginBase):
def controllers(self):
return dict(
- gts = spline.plugins.gts.controllers.gts.GTSController,
+ gts = splinext.gts.controllers.gts.GTSController,
)
def model(self):
return [
- spline.plugins.gts.model.GTSPokemon,
+ splinext.gts.model.GTSPokemon,
]
def template_dirs(self):
from spline.lib.base import BaseController, render
from spline.lib import helpers as h
-from spline.plugins.gts.model import GTSPokemon
+from splinext.gts.model import GTSPokemon
log = logging.getLogger(__name__)