-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.py
49 lines (45 loc) · 1.52 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
# 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
ver_dic = {}
version_file = open("sphinx_lua/version.py")
try:
version_file_contents = version_file.read()
finally:
version_file.close()
exec(compile(version_file_contents, "sphinx_lua/version.py", 'exec'), ver_dic)
setup(
name='sphinx-lua',
version=ver_dic["__version__"],
description='Support for using Sphinx on Luadoc-documented Lua code',
long_description=open('README.rst', 'r', encoding='utf8').read(),
author='Eliott Dumeix',
author_email='eliott.dumeix@gmail.com',
license='MIT',
license_files=('LICENSE.txt',),
packages=find_packages(exclude=['ez_setup']),
test_suite='nose.collector',
include_package_data=True,
install_requires=[
'six',
'Jinja2>3.0',
'luadoc>=1.3.1',
'sphinxcontrib-luadomain>=1.1.1'
],
classifiers=[
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Documentation :: Sphinx',
'Topic :: Software Development :: Documentation'
],
keywords=['sphinx', 'documentation', 'docs', 'lua', 'luadoc', 'restructured'],
)