forked from firegurafiku/sphinxcontrib-divparams
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
43 lines (39 loc) · 1.88 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
#!/usr/bin/env python
import os
from setuptools import setup
def slurp(filename):
"""
Return whole file contents as string. File is searched relative to
directory where this `setup.py` is located.
"""
with open(os.path.join(os.path.dirname(__file__), filename)) as f:
return f.read()
setup(
name = "divparams",
version = "0.0.7",
packages = ["sphinxcontrib", "sphinxcontrib.divparams"],
namespace_packages = ["sphinxcontrib"],
package_dir = {'': "src"},
package_data = {'sphinxcontrib.divparams': [
'_static/divparams.css',
'_templates/layout.html']},
author = "Pavel Kretov",
author_email = "[email protected]",
license = "MIT",
url = "https://github.com/sphinxcontrib-divparams",
keywords = ["helpers"],
requires = ["six"],
description = ("Converts parameter tables in HTML documentation "
"generated by Sphinx into <div>'s."),
long_description = slurp("README.rst"),
classifiers = ["Programming Language :: Python",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Development Status :: 2 - Pre-Alpha",
"Topic :: Documentation",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX"])