-
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathsetup.py
More file actions
43 lines (39 loc) · 1.22 KB
/
setup.py
File metadata and controls
43 lines (39 loc) · 1.22 KB
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
#!/usr/bin/env python
import codecs
from setuptools import setup
# Version info -- read without importing
_locals = {}
with open('aiohttp_theme/_version.py') as fp:
exec(fp.read(), None, _locals)
version = _locals['__version__']
# README into long description
with codecs.open('README.rst', encoding='utf-8') as f:
readme = f.read()
setup(
name='aiohttp-theme',
version=version,
description='A configurable sidebar-enabled Sphinx theme',
long_description=readme,
author='Andrew Svetlov',
author_email='[email protected]',
url='https://github.com/aio-libs/aiohttp-theme',
packages=['aiohttp_theme'],
include_package_data=True,
license="BSD License",
license_files="LICENSE",
entry_points={
'sphinx.html_themes': [
'aiohttp_theme = aiohttp_theme',
]
},
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Topic :: Documentation',
'Topic :: Software Development :: Documentation',
],
)