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
|
from pathlib import Path
from setuptools import setup, find_packages
# defines __version__
exec(open("sphinxcontrib_trio/_version.py").read())
setup(
name="sphinxcontrib-trio",
version=__version__,
description=
"Make Sphinx better at documenting Python functions and methods",
# Just in case the cwd is not the root of the source tree, or python is
# not set to use utf-8 by default:
long_description=Path(__file__).with_name("README.rst").read_text('utf-8'),
author="Nathaniel J. Smith",
author_email="njs@pobox.com",
license="MIT -or- Apache License 2.0",
packages=find_packages(),
url="https://github.com/python-trio/sphinxcontrib-trio",
python_requires=">=3.6",
install_requires=["sphinx >= 2.2"],
classifiers=[
'Development Status :: 5 - Production/Stable',
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Framework :: Sphinx :: Extension",
"Framework :: Trio",
"Framework :: AsyncIO",
"Framework :: Twisted",
"Topic :: Documentation :: Sphinx",
"Topic :: Software Development :: Documentation",
])
|