Browse Source

version bump

boyska 4 years ago
parent
commit
9e3c2c5194
2 changed files with 12 additions and 5 deletions
  1. 11 4
      doc/source/conf.py
  2. 1 1
      setup.py

+ 11 - 4
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:

+ 1 - 1
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",