projects
/
zzz-spline-users.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a35a43e
)
Great Migration: spline.plugins => splinext
veekun-promotions/2010051501
author
Eevee
<git@veekun.com>
Sun, 16 May 2010 03:29:50 +0000
(20:29 -0700)
committer
Eevee
<git@veekun.com>
Sun, 16 May 2010 03:29:50 +0000
(20:29 -0700)
15 files changed:
setup.py
patch
|
blob
|
history
spline/__init__.py
[deleted file]
patch
|
blob
|
history
splinext/__init__.py
[moved from
spline/plugins/__init__.py
with 100% similarity]
patch
|
blob
|
history
splinext/users/__init__.py
[moved from
spline/plugins/users/__init__.py
with 84% similarity]
patch
|
blob
|
history
splinext/users/controllers/__init__.py
[moved from
spline/plugins/users/controllers/__init__.py
with 100% similarity]
patch
|
blob
|
history
splinext/users/controllers/accounts.py
[moved from
spline/plugins/users/controllers/accounts.py
with 100% similarity]
patch
|
blob
|
history
splinext/users/controllers/users.py
[moved from
spline/plugins/users/controllers/users.py
with 100% similarity]
patch
|
blob
|
history
splinext/users/model/__init__.py
[moved from
spline/plugins/users/model/__init__.py
with 100% similarity]
patch
|
blob
|
history
splinext/users/templates/css/users.mako
[moved from
spline/plugins/users/templates/css/users.mako
with 100% similarity]
patch
|
blob
|
history
splinext/users/templates/users/lib.mako
[moved from
spline/plugins/users/templates/users/lib.mako
with 100% similarity]
patch
|
blob
|
history
splinext/users/templates/users/list.mako
[moved from
spline/plugins/users/templates/users/list.mako
with 100% similarity]
patch
|
blob
|
history
splinext/users/templates/users/login.mako
[moved from
spline/plugins/users/templates/users/login.mako
with 100% similarity]
patch
|
blob
|
history
splinext/users/templates/users/profile.mako
[moved from
spline/plugins/users/templates/users/profile.mako
with 100% similarity]
patch
|
blob
|
history
splinext/users/templates/users/profile_edit.mako
[moved from
spline/plugins/users/templates/users/profile_edit.mako
with 100% similarity]
patch
|
blob
|
history
splinext/users/templates/widgets/user_state.mako
[moved from
spline/plugins/users/templates/widgets/user_state.mako
with 100% similarity]
patch
|
blob
|
history
diff --git
a/setup.py
b/setup.py
index
63e0bc2
..
b5d13ee
100644
(file)
--- a/
setup.py
+++ b/
setup.py
@@
-3,14
+3,14
@@
setup(
name = 'spline-users',
version = '0.1',
packages = find_packages(),
name = 'spline-users',
version = '0.1',
packages = find_packages(),
-
+
install_requires = ['spline'],
include_package_data = True,
zip_safe = False,
install_requires = ['spline'],
include_package_data = True,
zip_safe = False,
- entry_points = {'spline.plugins': 'users = spline
.plugins
.users:UsersPlugin'},
+ entry_points = {'spline.plugins': 'users = spline
xt
.users:UsersPlugin'},
- namespace_packages = ['spline
', 'spline.plugins
'],
+ namespace_packages = ['spline
xt
'],
)
)
diff --git
a/spline/__init__.py
b/spline/__init__.py
deleted file mode 100644
(file)
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/users/__init__.py
b/splinext/users/__init__.py
similarity index 84%
rename from
spline/plugins/users/__init__.py
rename to
splinext/users/__init__.py
index
e606823
..
39318f0
100644
(file)
--- a/
spline/plugins/users/__init__.py
+++ b/
splinext/users/__init__.py
@@
-7,9
+7,9
@@
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
.users.controllers.accounts
-import spline
.plugins
.users.controllers.users
-import spline
.plugins
.users.model
+import spline
xt
.users.controllers.accounts
+import spline
xt
.users.controllers.users
+import spline
xt
.users.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."""
@@
-50,14
+50,14
@@
def check_userid_hook(action, **params):
class UsersPlugin(PluginBase):
def controllers(self):
return dict(
class UsersPlugin(PluginBase):
def controllers(self):
return dict(
- accounts = spline
.plugins
.users.controllers.accounts.AccountsController,
- users = spline
.plugins
.users.controllers.users.UsersController,
+ accounts = spline
xt
.users.controllers.accounts.AccountsController,
+ users = spline
xt
.users.controllers.users.UsersController,
)
def model(self):
return [
)
def model(self):
return [
- spline
.plugins
.users.model.User,
- spline
.plugins
.users.model.OpenID,
+ spline
xt
.users.model.User,
+ spline
xt
.users.model.OpenID,
]
def template_dirs(self):
]
def template_dirs(self):
diff --git
a/spline/plugins/users/controllers/__init__.py
b/splinext/users/controllers/__init__.py
similarity index 100%
rename from
spline/plugins/users/controllers/__init__.py
rename to
splinext/users/controllers/__init__.py
diff --git
a/spline/plugins/users/controllers/accounts.py
b/splinext/users/controllers/accounts.py
similarity index 100%
rename from
spline/plugins/users/controllers/accounts.py
rename to
splinext/users/controllers/accounts.py
diff --git
a/spline/plugins/users/controllers/users.py
b/splinext/users/controllers/users.py
similarity index 100%
rename from
spline/plugins/users/controllers/users.py
rename to
splinext/users/controllers/users.py
diff --git
a/spline/plugins/users/model/__init__.py
b/splinext/users/model/__init__.py
similarity index 100%
rename from
spline/plugins/users/model/__init__.py
rename to
splinext/users/model/__init__.py
diff --git
a/spline/plugins/users/templates/css/users.mako
b/splinext/users/templates/css/users.mako
similarity index 100%
rename from
spline/plugins/users/templates/css/users.mako
rename to
splinext/users/templates/css/users.mako
diff --git
a/spline/plugins/users/templates/users/lib.mako
b/splinext/users/templates/users/lib.mako
similarity index 100%
rename from
spline/plugins/users/templates/users/lib.mako
rename to
splinext/users/templates/users/lib.mako
diff --git
a/spline/plugins/users/templates/users/list.mako
b/splinext/users/templates/users/list.mako
similarity index 100%
rename from
spline/plugins/users/templates/users/list.mako
rename to
splinext/users/templates/users/list.mako
diff --git
a/spline/plugins/users/templates/users/login.mako
b/splinext/users/templates/users/login.mako
similarity index 100%
rename from
spline/plugins/users/templates/users/login.mako
rename to
splinext/users/templates/users/login.mako
diff --git
a/spline/plugins/users/templates/users/profile.mako
b/splinext/users/templates/users/profile.mako
similarity index 100%
rename from
spline/plugins/users/templates/users/profile.mako
rename to
splinext/users/templates/users/profile.mako
diff --git
a/spline/plugins/users/templates/users/profile_edit.mako
b/splinext/users/templates/users/profile_edit.mako
similarity index 100%
rename from
spline/plugins/users/templates/users/profile_edit.mako
rename to
splinext/users/templates/users/profile_edit.mako
diff --git
a/spline/plugins/users/templates/widgets/user_state.mako
b/splinext/users/templates/widgets/user_state.mako
similarity index 100%
rename from
spline/plugins/users/templates/widgets/user_state.mako
rename to
splinext/users/templates/widgets/user_state.mako