Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
# The master toctree document.
master_doc = 'index'
# General information about the project.
project = 'uszipcode'
copyright = '2015, Sanhe Hu'
author = 'Sanhe Hu'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = uszipcode.__version__
# The full version, including alpha/beta/rc tags.
release = uszipcode.__version__
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
language = None
# There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used:
#today = ''
# Else, today_fmt is used as the format for a strftime call.
#today_fmt = '%B %d, %Y'
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
#source_encoding = 'utf-8-sig'
# The master toctree document.
master_doc = 'index'
# General information about the project.
project = 'uszipcode'
copyright = '2015, Sanhe Hu'
author = 'Sanhe Hu'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = uszipcode.__version__
# The full version, including alpha/beta/rc tags.
release = uszipcode.__version__
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
language = None
# There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used:
#today = ''
# Else, today_fmt is used as the format for a strftime call.
#today_fmt = '%B %d, %Y'
source_suffix = '.rst'
# The master toctree document.
master_doc = 'index'
# General information about the project.
project = 'uszipcode'
copyright = '%s, Sanhe Hu' % datetime.utcnow().year
author = 'Sanhe Hu'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = uszipcode.__version__
# The full version, including alpha/beta/rc tags.
release = uszipcode.__version__
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
language = None
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This patterns also effect to html_static_path and html_extra_path
exclude_patterns = []
# The name of the Pygments (syntax highlighting) style to use.
# Short description will be the description on PyPI
try:
SHORT_DESCRIPTION = package.__short_description__ # GitHub Short Description
except:
print(
"'__short_description__' not found in '%s.__init__.py'!" % PKG_NAME)
SHORT_DESCRIPTION = "No short description!"
# Long description will be the body of content on PyPI page
try:
LONG_DESCRIPTION = open("README.rst", "rb").read().decode("utf-8")
except:
LONG_DESCRIPTION = "No long description!"
# Version number, VERY IMPORTANT!
VERSION = package.__version__
# Author and Maintainer
try:
AUTHOR = package.__author__
except:
AUTHOR = "Unknown"
try:
AUTHOR_EMAIL = package.__author_email__
except:
AUTHOR_EMAIL = None
try:
MAINTAINER = package.__maintainer__
except:
MAINTAINER = "Unknown"
# The master toctree document.
master_doc = 'index'
# General information about the project.
project = 'uszipcode'
copyright = '%s, Sanhe Hu' % datetime.utcnow().year
author = 'Sanhe Hu'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = uszipcode.__version__
# The full version, including alpha/beta/rc tags.
release = uszipcode.__version__
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
language = None
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This patterns also effect to html_static_path and html_extra_path
exclude_patterns = []
# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'sphinx'