Skip to content

Commit

Permalink
Merge pull request #72 from codePerfectPlus/patch-1
Browse files Browse the repository at this point in the history
🔖 v2.0.4
  • Loading branch information
codeperfectplus authored Nov 1, 2022
2 parents 0b074e5 + 7092eb4 commit bd88c8c
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 8 deletions.
3 changes: 1 addition & 2 deletions audiobook/__main__.py → audiobook/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@

from audiobook.main import AudioBook, BOOK_DIR

__version__ = "2.0.2"
__version__ = "2.0.4"

def main():
parser = argparse.ArgumentParser(description="AudioBook - listen to any PDF book")
parser.add_argument("-p", "--path", nargs="?", default=None, help="book file path")
parser.add_argument('-v', '--version', action='version', version=__version__)
parser.add_argument("-l", "--list", action="store_true", help="list all books")

group = parser.add_mutually_exclusive_group()
group.add_argument(
Expand Down
Binary file removed docs/_static/logo.png
Binary file not shown.
Binary file removed docs/_static/logopyc.png
Binary file not shown.
7 changes: 7 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,16 @@
release = '2.0.4'

extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.todo',
'sphinx.ext.coverage',
'sphinx.ext.viewcode',
'rst2pdf.pdfbuilder',
'sphinx.ext.autosectionlabel'
]

pdf_documents = [('index', u'documentation', 'My Docs', u'Me'), ]

releases_github_path = "Py-Contributors/AudioBook"

autosectionlabel_prefix_document = True
Expand Down
8 changes: 4 additions & 4 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Welcome to audiobook's documentation!

|PyPI download month|

.. |PyPI download month| image:: https://img.shields.io/pypi/dm/audiobook.svg
.. |PyPI download month| image:: http://pepy.tech/badge/audiobook
:target: https://pypi.python.org/pypi/audiobook/

|PyPI version fury.io|
Expand Down Expand Up @@ -53,10 +53,10 @@ Other Projects by Py-Contributors:
.. |forthebadge made-with-python| image:: http://ForTheBadge.com/images/badges/made-with-python.svg
:target: https://www.python.org/


.. toctree::
:hidden:

:maxdepth: 2
:caption: Contents:

introduction.rst
installation.rst
command_line_usage.rst
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="audiobook",
version="2.0.2",
version="2.0.4",
author="CodePerfectPlus",
author_email="[email protected]",
description="Listen to your favourite audiobook",
Expand All @@ -24,6 +24,6 @@
],
python_requires=">=3.4",
entry_points={
"console_scripts": ["audiobook = audiobook.__main__:main"],
"console_scripts": ["audiobook = audiobook.cli:main"],
},
)

0 comments on commit bd88c8c

Please sign in to comment.