-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
58 lines (56 loc) · 1.75 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
from setuptools import setup
# "import" __version__
__version__ = 'unknown'
for line in open('src/insipid_sphinx_theme/__init__.py'):
if line.startswith('__version__'):
exec(line)
break
setup(
name='insipid-sphinx-theme',
version=__version__,
package_dir={'': 'src'},
packages=['insipid_sphinx_theme'],
package_data={'insipid_sphinx_theme': [
'insipid/theme.conf',
'insipid/*.html',
'insipid/static/*.css',
'insipid/static/*.css_t',
'insipid/static/*.js',
'insipid/static/*.js_t',
'insipid/icons/*.svg',
]},
python_requires='>=3.6',
install_requires=[
'sphinx>=5',
'docutils>=0.18',
'jinja2>=2.11', # suport for pathlib.Path
],
author='Matthias Geier',
author_email='[email protected]',
description='An insipid Sphinx theme',
long_description=open('README.rst').read(),
license='BSD-2-Clause',
keywords='mobile-friendly'.split(),
url='https://insipid-sphinx-theme.readthedocs.io/',
project_urls={
'Documentation': 'https://insipid-sphinx-theme.readthedocs.io/',
'Source Code': 'https://github.com/mgeier/insipid-sphinx-theme/',
'Bug Tracker': 'https://github.com/mgeier/insipid-sphinx-theme/issues',
},
platforms='any',
classifiers=[
'Framework :: Sphinx',
'Framework :: Sphinx :: Theme',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Topic :: Documentation :: Sphinx',
],
zip_safe=False,
entry_points={
'sphinx.html_themes': [
'insipid = insipid_sphinx_theme',
]
},
)