version bump
This commit is contained in:
parent
4e685f3425
commit
9e3c2c5194
2 changed files with 12 additions and 5 deletions
|
@ -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:
|
||||
|
|
2
setup.py
2
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",
|
||||
|
|
Loading…
Reference in a new issue