-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
57 lines (53 loc) · 1.81 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
import setuptools
import subprocess
try:
ret = subprocess.run(
"git describe --tags --abbrev=0",
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
check=True,
shell=True,
)
version = ret.stdout.decode("utf-8").strip()
except:
version = "main"
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setuptools.setup(
name="sphinxext-remoteliteralinclude",
version=version,
author="Eli Barnett, Dalton Smith",
author_email="[email protected]",
description="Extending literalinclude to include remote URLs",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/wpilibsuite/sphinxext-remoteliteralinclude",
install_requires=[
"sphinx>=4.3;python_version>='3.10'",
"six",
],
packages=["sphinxext"],
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.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python",
"Topic :: Documentation :: Sphinx",
"Topic :: Documentation",
"Topic :: Software Development :: Documentation",
"Topic :: Text Processing",
"Topic :: Utilities",
],
python_requires=">=3.8",
)