Use absolute import in __init__.py
This commit is contained in:
parent
aff46b273d
commit
a69e7ef6c1
@ -4,8 +4,8 @@ __valid_identifiers__ = []
|
||||
# Import order of the modules is important, as they will populate
|
||||
# `__valid_identifiers__` on load, and the order in this list reflects their
|
||||
# priority.
|
||||
from . import bibtex, doi, fetcher, isbn # noqa
|
||||
from . import citations, papers, repositories # noqa
|
||||
from libbmc import bibtex, doi, fetcher, isbn # noqa
|
||||
from libbmc import citations, papers, repositories # noqa
|
||||
|
||||
__version__ = "0.1.3.1"
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
from . import bbl, bibtex, pdf, plaintext
|
||||
from libbmc.citations import bbl, bibtex, pdf, plaintext
|
||||
|
||||
__all__ = [
|
||||
"bbl", "bibtex", "pdf", "plaintext"
|
||||
|
@ -1,4 +1,4 @@
|
||||
from . import identifiers
|
||||
from libbmc.papers import identifiers
|
||||
|
||||
__all__ = [
|
||||
"identifiers",
|
||||
|
@ -1,4 +1,4 @@
|
||||
from . import arxiv, hal
|
||||
from libbmc.repositories import arxiv, hal
|
||||
|
||||
__all__ = [
|
||||
"arxiv", "hal"
|
||||
|
Loading…
Reference in New Issue
Block a user