This repository has been archived by the owner on Jan 29, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 25
/
setup.py
65 lines (54 loc) · 1.94 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
62
63
64
65
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
long_desc = '''
This package contains a ditaa_ Sphinx_ extension.
.. _ditaa: http://ditaa.sourceforge.net/
.. _Sphinx: http://sphinx.pocoo.org/
ditaa_ is a program and a reStructuredText_ directive to allow embeded ASCII
art figures to be rendered as nice images. The
ditaa_ directive needs a *hardcoded* image format, so it doesn't goes well
with Sphinx_ multi-format support.
.. _reStructuredText: http://docutils.sourceforge.net/rst.html
This extension adds the ``ditaa`` directive that automatically directive that automatically selects the
image format to use acording to the Sphinx_ writer used to generate the
documentation.
Usage example::
.. ditaa::
+--------+ +-------+ +-------+
| | --+ ditaa +--> | |
| Text | +-------+ |diagram|
|Document| |!magic!| | |
| {d}| | | | |
+---+----+ +-------+ +-------+
: ^
| Lots of work |
+-------------------------+
'''
requires = ['Sphinx>=1.0']
setup(
name='sphinx-ditaa',
version='0.2',
url='https://github.com/baloo/sphinx-ditaa',
license='BSD License',
author='Arthur Gautier',
description='ditaa Sphinx extension',
long_description=long_desc,
zip_safe=False,
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Topic :: Documentation',
'Topic :: Utilities',
],
platforms='any',
packages=find_packages(),
include_package_data=True,
install_requires=requires,
namespace_packages=['sphinxcontrib'],
)