Remove unnecessary dunder package attributes
This commit is contained in:
23
docs/conf.py
23
docs/conf.py
@@ -16,8 +16,9 @@ import fbchat
|
|||||||
# -- Project information -----------------------------------------------------
|
# -- Project information -----------------------------------------------------
|
||||||
|
|
||||||
project = fbchat.__name__
|
project = fbchat.__name__
|
||||||
copyright = fbchat.__copyright__
|
copyright = "Copyright 2015 - 2018 by Taehoon Kim and 2018 - 2020 by Mads Marquart"
|
||||||
author = fbchat.__author__
|
author = "Taehoon Kim; Moreels Pieter-Jan; Mads Marquart"
|
||||||
|
description = fbchat.__doc__.split("\n")[0]
|
||||||
|
|
||||||
# The short X.Y version
|
# The short X.Y version
|
||||||
version = fbchat.__version__
|
version = fbchat.__version__
|
||||||
@@ -113,7 +114,7 @@ html_show_sourcelink = False
|
|||||||
|
|
||||||
# A shorter title for the navigation bar. Default is the same as html_title.
|
# A shorter title for the navigation bar. Default is the same as html_title.
|
||||||
#
|
#
|
||||||
html_short_title = fbchat.__description__
|
html_short_title = description
|
||||||
|
|
||||||
|
|
||||||
# -- Options for HTMLHelp output ---------------------------------------------
|
# -- Options for HTMLHelp output ---------------------------------------------
|
||||||
@@ -127,16 +128,14 @@ htmlhelp_basename = project + "doc"
|
|||||||
# Grouping the document tree into LaTeX files. List of tuples
|
# Grouping the document tree into LaTeX files. List of tuples
|
||||||
# (source start file, target name, title,
|
# (source start file, target name, title,
|
||||||
# author, documentclass [howto, manual, or own class]).
|
# author, documentclass [howto, manual, or own class]).
|
||||||
latex_documents = [(master_doc, project + ".tex", fbchat.__title__, author, "manual")]
|
latex_documents = [(master_doc, project + ".tex", project, author, "manual")]
|
||||||
|
|
||||||
|
|
||||||
# -- Options for manual page output ------------------------------------------
|
# -- Options for manual page output ------------------------------------------
|
||||||
|
|
||||||
# One entry per manual page. List of tuples
|
# One entry per manual page. List of tuples
|
||||||
# (source start file, name, description, authors, manual section).
|
# (source start file, name, description, authors, manual section).
|
||||||
man_pages = [
|
man_pages = [(master_doc, project, project, [x.strip() for x in author.split(";")], 1)]
|
||||||
(master_doc, project, fbchat.__title__, [x.strip() for x in author.split(";")], 1)
|
|
||||||
]
|
|
||||||
|
|
||||||
|
|
||||||
# -- Options for Texinfo output ----------------------------------------------
|
# -- Options for Texinfo output ----------------------------------------------
|
||||||
@@ -145,15 +144,7 @@ man_pages = [
|
|||||||
# (source start file, target name, title, author,
|
# (source start file, target name, title, author,
|
||||||
# dir menu entry, description, category)
|
# dir menu entry, description, category)
|
||||||
texinfo_documents = [
|
texinfo_documents = [
|
||||||
(
|
(master_doc, project, project, author, project, description, "Miscellaneous",)
|
||||||
master_doc,
|
|
||||||
project,
|
|
||||||
fbchat.__title__,
|
|
||||||
author,
|
|
||||||
project,
|
|
||||||
fbchat.__description__,
|
|
||||||
"Miscellaneous",
|
|
||||||
)
|
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
@@ -1,7 +1,11 @@
|
|||||||
"""Facebook Chat (Messenger) for Python
|
"""Facebook Chat (Messenger) for Python
|
||||||
|
|
||||||
:copyright: (c) 2015 - 2019 by Taehoon Kim
|
Copyright:
|
||||||
:license: BSD 3-Clause, see LICENSE for more details.
|
(c) 2015 - 2018 by Taehoon Kim
|
||||||
|
(c) 2018 - 2020 by Mads Marquart
|
||||||
|
|
||||||
|
License:
|
||||||
|
BSD 3-Clause, see LICENSE for more details.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import logging as _logging
|
import logging as _logging
|
||||||
@@ -84,15 +88,7 @@ from ._mqtt import Listener
|
|||||||
|
|
||||||
from ._client import Client
|
from ._client import Client
|
||||||
|
|
||||||
__title__ = "fbchat"
|
|
||||||
__version__ = "1.9.6"
|
__version__ = "1.9.6"
|
||||||
__description__ = "Facebook Chat (Messenger) for Python"
|
|
||||||
|
|
||||||
__copyright__ = "Copyright 2015 - 2019 by Taehoon Kim"
|
|
||||||
__license__ = "BSD 3-Clause"
|
|
||||||
|
|
||||||
__author__ = "Taehoon Kim; Moreels Pieter-Jan; Mads Marquart"
|
|
||||||
__email__ = "carpedm20@gmail.com"
|
|
||||||
|
|
||||||
__all__ = ("Session", "Listener", "Client")
|
__all__ = ("Session", "Listener", "Client")
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user