Package with PEP-517
parent
a0591adae4
commit
9372bdb9f1
@ -1,6 +1,7 @@
|
||||
"""
|
||||
Sphinx AutoAPI
|
||||
"""
|
||||
"""Sphinx AutoAPI"""
|
||||
|
||||
from .extension import setup
|
||||
from ._version import __version__, __version_info__
|
||||
|
||||
|
||||
__version__ = "1.7.0"
|
||||
__version_info__ = (1, 7, 0)
|
||||
|
@ -1,2 +0,0 @@
|
||||
__version_info__ = (1, 7, 0)
|
||||
__version__ = ".".join(str(x) for x in __version_info__)
|
@ -0,0 +1,3 @@
|
||||
[build-system]
|
||||
requires = ["setuptools>=46.4.0", "wheel"]
|
||||
build-backend = "setuptools.build_meta"
|
@ -1,2 +1,57 @@
|
||||
[wheel]
|
||||
[metadata]
|
||||
name = sphinx-autoapi
|
||||
version = attr: autoapi.__version__
|
||||
author = Eric Holscher
|
||||
author_email = eric@ericholscher.com
|
||||
maintainer = Ashley Whetter
|
||||
maintainer_email = ashley@awhetter.co.uk
|
||||
description = Sphinx API documentation generator
|
||||
long_description = file: README.rst
|
||||
long_description_content_type = text/x-rst
|
||||
url = http://github.com/readthedocs/sphinx-autoapi
|
||||
license = MIT
|
||||
license_files =
|
||||
LICENSE.rst
|
||||
classifiers =
|
||||
Development Status :: 4 - Beta
|
||||
Environment :: Plugins
|
||||
Framework :: Sphinx :: Extension
|
||||
Intended Audience :: Developers
|
||||
License :: OSI Approved :: MIT License
|
||||
Natural Language :: English
|
||||
Programming Language :: Python
|
||||
Programming Language :: Python :: 3
|
||||
Programming Language :: Python :: 3.6
|
||||
Programming Language :: Python :: 3.7
|
||||
Programming Language :: Python :: 3.8
|
||||
Programming Language :: Python :: 3.9
|
||||
project_urls =
|
||||
Documentation = https://sphinx-autoapi.readthedocs.io/en/latest/
|
||||
|
||||
[options]
|
||||
packages = find:
|
||||
include_package_data = True
|
||||
python_requires = >=3.6
|
||||
install_requires =
|
||||
astroid>=2.4
|
||||
Jinja2
|
||||
PyYAML
|
||||
sphinx>=3.0
|
||||
unidecode
|
||||
|
||||
[options.extras_require]
|
||||
docs =
|
||||
sphinx
|
||||
sphinx_rtd_theme
|
||||
go =
|
||||
sphinxcontrib-golangdomain
|
||||
dotnet =
|
||||
sphinxcontrib-dotnetdomain
|
||||
|
||||
[options.packages.find]
|
||||
include =
|
||||
autoapi
|
||||
autoapi.*
|
||||
|
||||
[bdist_wheel]
|
||||
universal = 1
|
||||
|
@ -1,47 +0,0 @@
|
||||
import io
|
||||
|
||||
from setuptools import setup, find_packages
|
||||
|
||||
version = {}
|
||||
with open("autoapi/_version.py") as fp:
|
||||
exec(fp.read(), version)
|
||||
|
||||
setup(
|
||||
name="sphinx-autoapi",
|
||||
version=version["__version__"],
|
||||
author="Eric Holscher",
|
||||
author_email="eric@ericholscher.com",
|
||||
url="http://github.com/readthedocs/sphinx-autoapi",
|
||||
license="BSD",
|
||||
description="Sphinx API documentation generator",
|
||||
packages=find_packages("."),
|
||||
long_description=io.open("README.rst", "r", encoding="utf-8").read(),
|
||||
include_package_data=True,
|
||||
install_requires=[
|
||||
"astroid>=2.4",
|
||||
"Jinja2",
|
||||
"PyYAML",
|
||||
"sphinx>=3.0",
|
||||
"unidecode",
|
||||
],
|
||||
extras_require={
|
||||
"docs": ["sphinx", "sphinx_rtd_theme"],
|
||||
"go": ["sphinxcontrib-golangdomain"],
|
||||
"dotnet": ["sphinxcontrib-dotnetdomain"],
|
||||
},
|
||||
python_requires=">=3.6",
|
||||
classifiers=[
|
||||
"Development Status :: 4 - Beta",
|
||||
"Environment :: Plugins",
|
||||
"Framework :: Sphinx :: Extension",
|
||||
"Intended Audience :: Developers",
|
||||
"License :: OSI Approved :: MIT License",
|
||||
"Natural Language :: English",
|
||||
"Programming Language :: Python",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3.6",
|
||||
"Programming Language :: Python :: 3.7",
|
||||
"Programming Language :: Python :: 3.8",
|
||||
"Programming Language :: Python :: 3.9",
|
||||
],
|
||||
)
|
Loading…
Reference in New Issue