master
blallo 2019-01-11 18:19:05 +01:00 committed by blallo
parent 075ccef88e
commit a68eb9d967
Signed by: blallo
GPG Key ID: 0CBE577C9B72DC3F
3 changed files with 83 additions and 97 deletions

View File

@ -3,7 +3,7 @@ GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
A bot to easen the daily routine with zucchetti virtual badge.
Copyright (C) 2019 Leonardo Barcaroli
Copyleft 2019
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by

View File

@ -40,23 +40,22 @@ import bot_z
# 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.viewcode']
extensions = ["sphinx.ext.autodoc", "sphinx.ext.viewcode"]
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
templates_path = ["_templates"]
# The suffix of source filenames.
source_suffix = '.rst'
source_suffix = ".rst"
# The encoding of source files.
# source_encoding = 'utf-8-sig'
# The master toctree document.
master_doc = 'index'
master_doc = "index"
# General information about the project.
project = u'Bot_Z'
copyright = u"2019, Leonardo Barcaroli"
project = u"Bot_Z"
# The version info for the project you're documenting, acts as replacement
# for |version| and |release|, also used in various other places throughout
@ -79,7 +78,7 @@ release = bot_z.__version__
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
exclude_patterns = ['_build']
exclude_patterns = ["_build"]
# The reST default role (used for this markup: `text`) to use for all
# documents.
@ -97,7 +96,7 @@ exclude_patterns = ['_build']
# show_authors = False
# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'sphinx'
pygments_style = "sphinx"
# A list of ignored prefixes for module index sorting.
# modindex_common_prefix = []
@ -111,7 +110,7 @@ pygments_style = 'sphinx'
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
html_theme = 'default'
html_theme = "default"
# Theme options are theme-specific and customize the look and feel of a
# theme further. For a list of options available for each theme, see the
@ -142,7 +141,7 @@ html_theme = 'default'
# here, relative to this directory. They are copied after the builtin
# static files, so a file named "default.css" will overwrite the builtin
# "default.css".
html_static_path = ['_static']
html_static_path = ["_static"]
# If not '', a 'Last updated on:' timestamp is inserted at every page
# bottom, using the given strftime format.
@ -188,7 +187,7 @@ html_static_path = ['_static']
# html_file_suffix = None
# Output file base name for HTML help builder.
htmlhelp_basename = 'bot_zdoc'
htmlhelp_basename = "bot_zdoc"
# -- Options for LaTeX output ------------------------------------------
@ -196,10 +195,8 @@ htmlhelp_basename = 'bot_zdoc'
latex_elements = {
# The paper size ('letterpaper' or 'a4paper').
#'papersize': 'letterpaper',
# The font size ('10pt', '11pt' or '12pt').
#'pointsize': '10pt',
# Additional stuff for the LaTeX preamble.
#'preamble': '',
}
@ -208,9 +205,7 @@ latex_elements = {
# (source start file, target name, title, author, documentclass
# [howto/manual]).
latex_documents = [
('index', 'bot_z.tex',
u'Bot_Z Documentation',
u'Leonardo Barcaroli', 'manual'),
("index", "bot_z.tex", u"Bot_Z Documentation", u"Leonardo Barcaroli", "manual")
]
# The name of an image file (relative to this directory) to place at
@ -238,11 +233,7 @@ latex_documents = [
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
('index', 'bot_z',
u'Bot_Z Documentation',
[u'Leonardo Barcaroli'], 1)
]
man_pages = [("index", "bot_z", u"Bot_Z Documentation", [u"Leonardo Barcaroli"], 1)]
# If true, show URL addresses after external links.
# man_show_urls = False
@ -254,12 +245,15 @@ man_pages = [
# (source start file, target name, title, author,
# dir menu entry, description, category)
texinfo_documents = [
('index', 'bot_z',
u'Bot_Z Documentation',
u'Leonardo Barcaroli',
'bot_z',
'One line description of project.',
'Miscellaneous'),
(
"index",
"bot_z",
u"Bot_Z Documentation",
u"Leonardo Barcaroli",
"bot_z",
"One line description of project.",
"Miscellaneous",
)
]
# Documents to append as an appendix to all manuals.

View File

@ -5,14 +5,15 @@
from setuptools import setup, find_packages
with open('README.rst') as readme_file:
with open("README.rst") as readme_file:
readme = readme_file.read()
with open('HISTORY.rst') as history_file:
with open("HISTORY.rst") as history_file:
history = history_file.read()
requirements = [
'Click>=6.0',
"Click>=6.0",
"selenium>=3.141.0",
# TODO: put package requirements here
]
@ -25,38 +26,29 @@ test_requirements = [
]
setup(
name='bot_z',
version='0.1.0',
name="bot_z",
version="0.1.0",
description="A bot to easen the daily routine with zucchetti virtual badge.",
long_description=readme + '\n\n' + history,
author="Leonardo Barcaroli",
author_email='leonardo.barcaroli@deustechnology.com',
url='https://github.com/lbarcaroli/bot_z',
packages=find_packages(include=['bot_z']),
entry_points={
'console_scripts': [
'bot_z=bot_z.cli:main'
]
},
long_description=readme + "\n\n" + history,
author="Blallo",
author_email="blallo@autistici.org",
url="https://github.com/lbarcaroli/bot_z",
packages=find_packages(include=["bot_z"]),
entry_points={"console_scripts": ["bot_z=bot_z.cli:main"]},
include_package_data=True,
install_requires=requirements,
license="GNU General Public License v3",
zip_safe=False,
keywords='bot_z',
keywords="bot_z",
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Natural Language :: English',
"Programming Language :: Python :: 2",
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
],
test_suite='tests',
test_suite="pytest",
tests_require=test_requirements,
setup_requires=setup_requirements,
)