-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
59 lines (56 loc) · 1.73 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
from setuptools import setup, find_packages
import re
from os import path
__version__ = re.findall(
r"""__version__ = ["']+([0-9\.]*)["']+""",
open("sphinx_mdolab_theme/__init__.py").read(),
)[0]
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, "README.md"), encoding="utf-8") as f:
long_description = f.read()
setup(
name="sphinx_mdolab_theme",
packages=find_packages(),
version=__version__,
license="MIT",
description="MDO Lab sphinx theme",
long_description=long_description,
long_description_content_type="text/markdown",
author="MDO Lab",
author_email="[email protected]",
url="https://github.com/mdolab/sphinx_mdolab_theme",
keywords=["SPHINX", "THEME", "MDOLAB"],
entry_points={
"sphinx.html_themes": [
"sphinx_mdolab_theme = sphinx_mdolab_theme",
]
},
package_data={
"sphinx_mdolab_theme": [
"theme.conf",
"static/*.css",
"static/*.png",
]
},
include_package_data=True,
install_requires=[
"sphinx>=3.0",
"sphinx_rtd_theme>=0.5",
"pyyaml",
"numpydoc",
"sphinx-prompt",
"sphinx-copybutton",
"sphinxcontrib-autoprogram",
"sphinxcontrib-bibtex",
"sphinx-tabs",
"redbaron",
"numpy",
],
classifiers=[
"Development Status :: 5 - Production/Stable", # Chose either "3 - Alpha", "4 - Beta" or "5 - Production/Stable" as the current state of your package
"Intended Audience :: Developers",
"Topic :: Software Development :: Build Tools",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
],
)