forked from breathe-doc/breathe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
61 lines (53 loc) · 1.68 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
58
59
60
61
# -*- 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
# Keep in sync with breathe/__init__.py __version__
__version__ = "4.35.0"
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>=4.0,!=5.0.0", "docutils>=0.12"]
if sys.version_info < (3, 7):
print("ERROR: Sphinx requires at least Python 3.7 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="[email protected]",
description="Sphinx Doxygen renderer",
long_description=long_desc,
zip_safe=False,
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"Environment :: Web Environment",
"Framework :: Sphinx :: Extension",
"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,
)