Commit 2aeb321b authored by Nsukami Patrick's avatar Nsukami Patrick
Browse files

New style: update package config & use new style import

- update MANIFEST.in
- update cubicweb min version to 3.24
- use new style import inside hooks.py
parent 85f6e58e023c
include setup.py
include README
include *.ini
recursive-include test *
recursive-include cubicweb_oauth *
include *.py
include */*.py
recursive-include cubicweb_oauth *.py
recursive-include cubicweb_oauth/data *.gif *.png *.ico *.css *.js
recursive-include cubicweb_oauth/i18n *.po
recursive-include test/data bootstrap_cubes *.py
recursive-include debian changelog compat control copyright rules
......@@ -15,7 +15,7 @@ description = ('External service (Facebook, Twitter, Google+, etc) '
web = 'http://www.cubicweb.org/project/%s' % distname
__depends__ = {
'cubicweb': '>= 3.19.0',
'cubicweb': '>= 3.24.0',
'rauth': '>= 0.6.1',
'six': None,
}
......
......@@ -36,7 +36,7 @@ class ServerStartupHook(hook.Hook):
self.repo.system_source.add_authentifier(DirectAuthentifier())
def cleanup_negostates():
import cubes.oauth.views as oviews
import cubicweb_oauth.views as oviews
for negoid in oviews.COLLECT_LIST:
self.debug('collecting negostate', negoid)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment