diff --git a/doc/source/conf.py b/doc/source/conf.py index a9d8fc0..683e3f6 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -34,7 +34,11 @@ from sphinx.util.console import red # 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.coverage", "sphinx.ext.viewcode"] +extensions = [ + "sphinx.ext.autodoc", + "sphinx.ext.coverage", + "sphinx.ext.viewcode", +] # Add any paths that contain templates here, relative to this directory. templates_path = ["_templates"] @@ -59,7 +63,7 @@ copyright = "2015-2017, boyska" # The short X.Y version. version = "1.3" # The full version, including alpha/beta/rc tags. -release = "1.3.2" +release = "1.3.3" # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. @@ -276,14 +280,17 @@ def run_apidoc(_): cmd_path = "sphinx-apidoc" if hasattr(sys, "real_prefix"): # Are we in a virtualenv? # assemble the path manually - cmd_path = os.path.abspath(os.path.join(sys.prefix, "bin", "sphinx-apidoc")) + cmd_path = os.path.abspath( + os.path.join(sys.prefix, "bin", "sphinx-apidoc") + ) if not os.path.exists(cmd_path): print(red("No apidoc available!"), file=sys.stderr) return for module in modules: try: subprocess.check_call( - [cmd_path, "--force", "-o", output_path, module] + exclude_files, + [cmd_path, "--force", "-o", output_path, module] + + exclude_files, cwd=proj_dir, ) except subprocess.CalledProcessError: diff --git a/setup.py b/setup.py index 132d9cf..7a08102 100644 --- a/setup.py +++ b/setup.py @@ -32,7 +32,7 @@ class PyTest(TestCommand): setup( name="larigira", - version="1.3.2", + version="1.3.3", description="A radio automation based on MPD", long_description=read("README.rst"), long_description_content_type="text/x-rst",