Use absolute import in __init__.py

This commit is contained in:
Lucas Verney 2016-02-17 14:39:07 +01:00
parent aff46b273d
commit a69e7ef6c1
4 changed files with 5 additions and 5 deletions

View File

@ -4,8 +4,8 @@ __valid_identifiers__ = []
# Import order of the modules is important, as they will populate # Import order of the modules is important, as they will populate
# `__valid_identifiers__` on load, and the order in this list reflects their # `__valid_identifiers__` on load, and the order in this list reflects their
# priority. # priority.
from . import bibtex, doi, fetcher, isbn # noqa from libbmc import bibtex, doi, fetcher, isbn # noqa
from . import citations, papers, repositories # noqa from libbmc import citations, papers, repositories # noqa
__version__ = "0.1.3.1" __version__ = "0.1.3.1"

View File

@ -1,4 +1,4 @@
from . import bbl, bibtex, pdf, plaintext from libbmc.citations import bbl, bibtex, pdf, plaintext
__all__ = [ __all__ = [
"bbl", "bibtex", "pdf", "plaintext" "bbl", "bibtex", "pdf", "plaintext"

View File

@ -1,4 +1,4 @@
from . import identifiers from libbmc.papers import identifiers
__all__ = [ __all__ = [
"identifiers", "identifiers",

View File

@ -1,4 +1,4 @@
from . import arxiv, hal from libbmc.repositories import arxiv, hal
__all__ = [ __all__ = [
"arxiv", "hal" "arxiv", "hal"