-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
57 lines (50 loc) · 1.96 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
from setuptools import find_packages, setup
with open("pennylane_sphinx_theme/_version.py") as f:
version = f.readlines()[-1].split()[-1].strip("\"'")
requirements = [
"sphinx",
"xanadu-sphinx-theme~=0.8.0",
# The packages below are used to generate thumbnail images.
"pillow",
"sphinx-gallery",
"docutils",
]
info = {
"description": "Sphinx theme for PennyLane open-source Python packages",
"entry_points": {"sphinx.html_themes": ["pennylane = pennylane_sphinx_theme"]},
"maintainer": "Xanadu Inc.",
"maintainer_email": "[email protected]",
"install_requires": requirements,
"license": "Apache License 2.0",
"license_files": ["LICENSE"],
"long_description": open("README.rst").read(),
"long_description_content_type": "text/x-rst",
"include_package_data": True,
"name": "pennylane-sphinx-theme",
"packages": find_packages(where="."),
"package_data": {"pennylane_sphinx_theme": ["static/*", "*.html", "theme.conf"]},
"provides": ["pennylane_sphinx_theme"],
"url": "https://github.com/XanaduAI/pennylane-sphinx-theme",
"version": version,
}
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"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",
"Topic :: Documentation",
"Topic :: Documentation :: Sphinx",
"Topic :: Software Development",
"Topic :: Software Development :: Documentation",
]
setup(classifiers=classifiers, **info)