# Path: setup.py
# def srcfile(*args):
#     def initialize_options(self):
#     def finalize_options(self):
#     def run_tests(self):
# def _build_metadata(): # pylint: disable=too-many-locals, too-many-branches
# class PyTest(TestCommand):


import os
import re
import sys
    import sphinx_rtd_theme
from setup import project as meta
needs_sphinx = '1.3'

# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = [
    'sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.coverage',
    'sphinx.ext.ifconfig', 'sphinx.ext.viewcode', 'sphinx.ext.napoleon',
]

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

# The suffix of source filenames.
source_suffix = '.rst'

# The encoding of source files.
#source_encoding = 'utf-8-sig'

# The master toctree document.
master_doc = 'index'

# General information about the project.
project = meta["name"]
copyright = ' '.join([i for i in meta["long_description"].splitlines() if "Copyright" in i][0].split()[2:])

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The full version, including alpha/beta/rc tags.

# Path: setup.py
# def srcfile(*args):
#     def initialize_options(self):
#     def finalize_options(self):
#     def run_tests(self):
# def _build_metadata(): # pylint: disable=too-many-locals, too-many-branches
# class PyTest(TestCommand):


# Path: docs/conf.py
import os
import re
import sys
    import sphinx_rtd_theme
from setup import project as meta

needs_sphinx = '1.3'

# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = [
    'sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.coverage',
    'sphinx.ext.ifconfig', 'sphinx.ext.viewcode', 'sphinx.ext.napoleon',
]

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

# The suffix of source filenames.
source_suffix = '.rst'

# The encoding of source files.
#source_encoding = 'utf-8-sig'

# The master toctree document.
master_doc = 'index'

# General information about the project.
project = meta["name"]
copyright = ' '.join([i for i in meta["long_description"].splitlines() if "Copyright" in i][0].split()[2:])

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The full version, including alpha/beta/rc tags.

release = meta["version"]