This repository has been archived by the owner on Jul 17, 2019. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 61
/
Copy pathsetup.py
executable file
·61 lines (57 loc) · 1.86 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
60
61
#!/usr/bin/env python
import io
import os
import re
from setuptools import setup
with io.open('README.rst', 'rt', encoding='utf8') as f:
readme = f.read()
with io.open(
os.path.join('flask_sphinx_themes', '__init__.py'), 'rt', encoding='utf8'
) as f:
version = re.search(
r'^__version__ = \'(\d+\.(?:\d+\.)*\d+)\'', f.read(), re.M
).group(1)
setup(
name='Flask-Sphinx-Themes',
version=version,
description='Sphinx themes for Flask and related projects.',
long_description=readme,
url='https://github.com/pallets/flask-sphinx-themes',
author='Armin Ronacher',
author_email='[email protected]',
maintainer='David Lord',
maintainer_email='[email protected]',
packages=['flask_sphinx_themes'],
include_package_data=True,
zip_safe=False,
install_requires=['Sphinx'],
entry_points={
'sphinx.html_themes': [
'flask = flask_sphinx_themes',
'flask_small = flask_sphinx_themes',
],
'pygments.styles': [
'flasky = flask_sphinx_themes.pygments:FlaskyStyle',
],
},
license='BSD',
platforms='any',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Framework :: Sphinx',
'Framework :: Sphinx :: Theme',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Documentation',
'Topic :: Documentation :: Sphinx',
'Topic :: Software Development :: Documentation',
],
)