forked from executablebooks/sphinx-tabs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·61 lines (56 loc) · 1.91 KB
/
setup.py
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
from os import path
import re
from setuptools import setup
def get_version():
text = open(path.join(path.dirname(__file__), "sphinx_tabs", "__init__.py")).read()
match = re.compile(r"^__version__\s*\=\s*[\"\']([^\s\'\"]+)", re.M).search(text)
return match.group(1)
with open("README.md") as readme:
long_description = readme.read()
setup(
name="sphinx-tabs",
version=get_version(),
description="Tabbed views for Sphinx",
long_description=long_description,
long_description_content_type="text/markdown",
author="djungelorm",
author_email="djungelorm@users.noreply.github.com",
packages=["sphinx_tabs"],
include_package_data=True,
url="https://github.com/executablebooks/sphinx-tabs",
license="MIT",
python_requires=">=3.7",
install_requires=["sphinx", "pygments", "docutils"],
extras_require={
"testing": [
"coverage",
"pytest>=7.1,<8",
"pytest-cov",
"pytest-regressions",
"pygments",
"bs4",
"rinohtype",
],
"code_style": ["pre-commit==2.13.0"],
},
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Plugins",
"Environment :: Web Environment",
"Framework :: Sphinx :: Extension",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python",
"Topic :: Documentation :: Sphinx",
"Topic :: Documentation",
"Topic :: Software Development :: Documentation",
"Topic :: Text Processing",
"Topic :: Utilities",
],
)