Skip to content

Commit

Permalink
installation: fix for invenio_ext dependency
Browse files Browse the repository at this point in the history
* FIX Removes dependencies to invenio.ext and replaces them with
  invenio_ext.

Signed-off-by: Sami Hiltunen <[email protected]>
  • Loading branch information
SamiHiltunen committed Sep 30, 2015
1 parent dac8f76 commit 3924f2d
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion invenio_records/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
from invenio_base.globals import cfg
from invenio_base.helpers import unicodifier
from invenio_base.utils import toposort_send
from invenio.ext.sqlalchemy import db
from invenio_ext.sqlalchemy import db
from invenio.utils.datastructures import SmartDict

from .models import RecordMetadata
Expand Down
2 changes: 1 addition & 1 deletion invenio_records/bundles.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

from __future__ import unicode_literals

from invenio.ext.assets import Bundle, RequireJSFilter
from invenio_ext.assets import Bundle, RequireJSFilter

js = Bundle(
"js/records/init.js",
Expand Down
2 changes: 1 addition & 1 deletion invenio_records/manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
from flask import current_app
from werkzeug.utils import import_string

from invenio.ext.script import Manager
from invenio_ext.script import Manager

manager = Manager(usage=__doc__)

Expand Down
2 changes: 1 addition & 1 deletion invenio_records/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
from sqlalchemy.schema import Index
from werkzeug import cached_property

from invenio.ext.sqlalchemy import db, utils
from invenio_ext.sqlalchemy import db, utils


class Record(db.Model):
Expand Down
2 changes: 1 addition & 1 deletion invenio_records/providers/recid.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

"""Define PID provider for recids."""

from invenio.ext.sqlalchemy import db
from invenio_ext.sqlalchemy import db
from invenio_pidstore.provider import PidProvider

from sqlalchemy.exc import SQLAlchemyError
Expand Down
2 changes: 1 addition & 1 deletion invenio_records/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
from flask_registry import PkgResourcesDirDiscoveryRegistry, \
ModuleAutoDiscoveryRegistry, RegistryProxy

from invenio.ext.registry import ModuleAutoDiscoverySubRegistry
from invenio_ext.registry import ModuleAutoDiscoverySubRegistry
from invenio.utils.datastructures import LazyDict


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

import warnings

from invenio.ext.sqlalchemy import db
from invenio_ext.sqlalchemy import db

import sqlalchemy as sa

Expand Down
2 changes: 1 addition & 1 deletion invenio_records/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
from werkzeug.utils import cached_property, import_string

from invenio_base.globals import cfg
from invenio.ext.cache import cache
from invenio_ext.cache import cache


def get_unique_record_json(param):
Expand Down
2 changes: 1 addition & 1 deletion invenio_records/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
from invenio_base.globals import cfg
from invenio_base.i18n import _
from invenio_base.signals import pre_template_render
from invenio.ext.template.context_processor import \
from invenio_ext.template.context_processor import \
register_template_context_processor
from invenio.utils import apache

Expand Down

0 comments on commit 3924f2d

Please sign in to comment.