1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
|
##############################################################################
#
# Copyright (c) 2008 Agendaless Consulting and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the BSD-like license at
# http://www.repoze.org/LICENSE.txt. A copy of the license should accompany
# this distribution. THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL
# EXPRESS OR IMPLIED WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO,
# THE IMPLIED WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND
# FITNESS FOR A PARTICULAR PURPOSE
#
##############################################################################
from setuptools import setup, find_packages
def readfile(name):
with open(name) as f:
return f.read()
README = readfile("README.rst")
CHANGES = readfile("CHANGES.rst")
tests_require = [
"zope.testrunner",
]
setup(
name="repoze.sphinx.autointerface",
version="1.0.0",
description="Sphinx extension: auto-generates API docs from Zope interfaces",
long_description=README + "\n\n" + CHANGES,
long_description_content_type='text/x-rst',
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
],
keywords="web wsgi zope Sphinx",
author="Agendaless Consulting",
author_email="repoze-dev@lists.repoze.org",
url="https://github.com/repoze/repoze.sphinx.autointerface/",
project_urls={
"Documentation": "https://github.com/repoze/repoze.sphinx.autointerface/",
"Changelog": "https://github.com/repoze/repoze.sphinx.autointerface/blob/master/CHANGES.rst",
"Issue Tracker": "https://github.com/repoze/repoze.sphinx.autointerface/issues",
},
license="BSD-derived (Repoze)",
packages=find_packages(),
include_package_data=True,
namespace_packages=["repoze", "repoze.sphinx"],
zip_safe=False,
python_requires=">=3.6",
tests_require=tests_require,
install_requires=[
"zope.interface",
"Sphinx >= 4.0",
"setuptools",
],
extras_require={
"test": tests_require,
},
)
|