-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup.py
52 lines (44 loc) · 1.65 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
from pathlib import Path
from setuptools import setup
repo = Path(__file__).resolve().parent
version_path = repo / "lib/nextstrain/sphinx/theme/VERSION"
readme_path = repo / "README.rst"
with version_path.open(encoding = "utf-8") as version_file:
__version__ = version_file.readline().strip()
setup(
name = 'nextstrain-sphinx-theme',
version = __version__,
license = 'MIT',
author = 'Thomas Sibley',
author_email = '[email protected]',
description = 'Nextstrain theme for Sphinx and Read The Docs',
long_description = readme_path.read_text(encoding = 'utf-8'),
packages = ['nextstrain.sphinx.theme'],
package_dir = {"": "lib"},
# Includes files listed in MANIFEST.in as package data files, see
# <https://packaging.python.org/guides/using-manifest-in/>.
include_package_data = True,
# See <http://www.sphinx-doc.org/en/stable/theming.html#distribute-your-theme-as-a-python-package>
entry_points = {
'sphinx.html_themes': [
'nextstrain-sphinx-theme = nextstrain.sphinx.theme',
]
},
install_requires = [
'sphinx_rtd_theme >=1.0.0',
'sphinx-better-subsection',
'sphinx-copybutton',
],
classifiers = [
'Framework :: Sphinx',
'Framework :: Sphinx :: Theme',
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Environment :: Console',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Topic :: Documentation',
'Topic :: Software Development :: Documentation',
],
)