forked from bashtage/sphinx-material
-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
50 lines (43 loc) · 1.51 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
from setuptools import setup
import versioneer
def get_requirements(f):
reqs = []
with open(f) as reqfile:
for l in reqfile.readlines():
if l.startswith('-'):
continue
if l.startswith('#'):
continue
reqs.append(l)
return reqs
REQUIREMENTS = get_requirements("requirements.txt")
REQUIREMENTS_DEV = get_requirements("requirements-dev.txt")
setup(
name="sphinx_symbiflow_theme",
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
description="Material sphinx theme",
long_description=open("README.rst").read(),
author="Kevin Sheppard",
author_email="[email protected]",
url="https://github.com/symbiflow/sphinx_symbiflow_theme",
packages=["sphinx_symbiflow_theme"],
include_package_data=True,
python_requires=">=3.6",
install_requires=REQUIREMENTS,
extras_require={"dev": REQUIREMENTS_DEV},
license="MIT",
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Natural Language :: English",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Framework :: Sphinx :: Extension",
"Framework :: Sphinx :: Theme",
"Topic :: Documentation :: Sphinx",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
],
entry_points={"sphinx.html_themes": ["sphinx_symbiflow_theme = sphinx_symbiflow_theme",]},
)