forked from breathe-doc/breathe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
57 lines (51 loc) · 1.6 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
# -*- coding: utf-8 -*-
try:
from setuptools import setup, find_packages
except ImportError:
import distribute_setup
distribute_setup.use_setuptools()
from setuptools import setup, find_packages
import sys
from breathe import __version__
long_desc = '''
Breathe is an extension to reStructuredText and Sphinx to be able to read and
render `Doxygen <http://www.doxygen.org>`__ xml output.
'''
requires = ['Sphinx>=3.0,<3.5', 'docutils>=0.12', 'six>=1.9']
if sys.version_info < (3, 5):
print('ERROR: Sphinx requires at least Python 3.5 to run.')
sys.exit(1)
setup(
name='breathe',
version=__version__,
url='https://github.com/michaeljones/breathe',
download_url='https://github.com/michaeljones/breathe',
license='BSD',
author='Michael Jones',
author_email='m.pricejones@gmail.com',
description='Sphinx Doxygen renderer',
long_description=long_desc,
zip_safe=False,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'Intended Audience :: Education',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Topic :: Documentation',
'Topic :: Text Processing',
'Topic :: Utilities',
],
platforms='any',
packages=find_packages(),
include_package_data=True,
entry_points={
'console_scripts': [
'breathe-apidoc = breathe.apidoc:main',
],
},
install_requires=requires,
)