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 = u'polib'
copyright = u'2011, David Jean Louis '
# 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 = polib.__version__
# The full version, including alpha/beta/rc tags.
release = polib.__version__
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#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.
exclude_patterns = ['_build']
# The reST default role (used for this markup: `text`) to use for all documents.
# The encoding of source files.
#source_encoding = 'utf-8-sig'
# The master toctree document.
master_doc = 'index'
# General information about the project.
project = u'polib'
copyright = u'2011, David Jean Louis '
# 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 = polib.__version__
# The full version, including alpha/beta/rc tags.
release = polib.__version__
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#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.
exclude_patterns = ['_build']
long_desc = r'''
.. contents:: Table of Contents
%s
%s
''' % (open('README.rst', mode).read(), open('CHANGELOG', mode).read())
if __name__ == '__main__':
setup(
name='polib',
description=desc,
long_description=long_desc,
version=polib.__version__,
author=maintainer,
author_email=maintainer_email,
maintainer=maintainer,
maintainer_email=maintainer_email,
url='http://bitbucket.org/izi/polib/',
download_url='https://pypi.python.org/packages/source/p/polib/polib-%s.tar.gz' % polib.__version__,
license='MIT',
platforms=['posix'],
classifiers = [
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: System Administrators',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: French',
'Operating System :: OS Independent',
%s
''' % (open('README.rst', mode).read(), open('CHANGELOG', mode).read())
if __name__ == '__main__':
setup(
name='polib',
description=desc,
long_description=long_desc,
version=polib.__version__,
author=maintainer,
author_email=maintainer_email,
maintainer=maintainer,
maintainer_email=maintainer_email,
url='http://bitbucket.org/izi/polib/',
download_url='https://pypi.python.org/packages/source/p/polib/polib-%s.tar.gz' % polib.__version__,
license='MIT',
platforms=['posix'],
classifiers = [
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: System Administrators',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: French',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.5',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.1',
'Programming Language :: Python :: 3.2',