Skip to content
This repository has been archived by the owner on Sep 7, 2022. It is now read-only.

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
mali-git committed Nov 13, 2018
1 parent 37acc2e commit 7ceee4f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
17 changes: 8 additions & 9 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,16 @@
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
import os
import sys
import re
sys.path.insert(0, os.path.abspath('../../src'))
import sys

import mock

# -- Mockup PyTorch to exclude it while compiling the docs--------------------------------------------------------------
MOCK_MODULES = ['pytorch']
for mod_name in MOCK_MODULES:
sys.modules[mod_name] = mock.Mock()
sys.path.insert(0, os.path.abspath('../../src'))

# -- Project information -----------------------------------------------------

Expand All @@ -27,7 +33,6 @@
# The full version, including alpha/beta/rc tags.
release = '0.0.4-dev'


# The short X.Y version.
parsed_version = re.match(
'(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(?:-(?P<release>[0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?(?:\+(?P<build>[0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?',
Expand Down Expand Up @@ -82,7 +87,6 @@
# The name of the Pygments (syntax highlighting) style to use.
pygments_style = None


# -- Options for HTML output -------------------------------------------------

# The theme to use for HTML and HTML Help pages. See the documentation for
Expand Down Expand Up @@ -117,7 +121,6 @@
# Output file base name for HTML help builder.
htmlhelp_basename = 'BioKEENdoc'


# -- Options for LaTeX output ------------------------------------------------

latex_elements = {
Expand Down Expand Up @@ -146,7 +149,6 @@
'Mehdi Ali, Charles Tapley Hoyt, and Daniel Domingo-Fernández', 'manual'),
]


# -- Options for manual page output ------------------------------------------

# One entry per manual page. List of tuples
Expand All @@ -156,7 +158,6 @@
[author], 1)
]


# -- Options for Texinfo output ----------------------------------------------

# Grouping the document tree into Texinfo files. List of tuples
Expand All @@ -168,7 +169,6 @@
'Miscellaneous'),
]


# -- Options for Epub output -------------------------------------------------

# Bibliographic Dublin Core info.
Expand All @@ -186,7 +186,6 @@
# A list of files that should not be packed into the epub file.
epub_exclude_files = ['search.html']


# -- Extension configuration -------------------------------------------------

# -- Options for intersphinx extension ---------------------------------------
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ keywords =

[options]
install_requires =
mock
pybel
bio2bel
tqdm
Expand Down

0 comments on commit 7ceee4f

Please sign in to comment.