forked from mozilla/sphinx-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
42 lines (39 loc) · 1.63 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
# Prevent spurious errors during `python setup.py test` in 2.6, a la
# http://www.eby-sarna.com/pipermail/peak/2010-May/003357.html:
try:
import multiprocessing
except ImportError:
pass
from io import open
from setuptools import setup, find_packages
setup(
name='sphinx-js',
version='2.3',
description='Support for using Sphinx on JSDoc-documented JS code',
long_description=open('README.rst', 'r', encoding='utf8').read(),
author='Erik Rose',
author_email='[email protected]',
license='MIT',
packages=find_packages(exclude=['ez_setup']),
tests_require=['nose',
# Sphinx's plain-text renderer changes behavior slightly
# with regard to how it emits class names and em dashes in
# 1.6, and we test against that renderer's results.
'Sphinx>=1.6'],
test_suite='nose.collector',
url='https://github.com/erikrose/sphinx-js',
include_package_data=True,
install_requires=['docutils', 'Jinja2>2.0,<3.0', 'parsimonious>=0.7.0,<0.8.0', 'six>=1.9.0,<2.0', 'Sphinx<2.0'],
classifiers=[
'Intended Audience :: Developers',
'Natural Language :: English',
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Topic :: Documentation :: Sphinx',
'Topic :: Software Development :: Documentation'
],
keywords=['sphinx', 'documentation', 'docs', 'javascript', 'js', 'jsdoc', 'restructured'],
)