summaryrefslogtreecommitdiff
path: root/sandbox/aafigure/setup.py
blob: 5bee309862cfc5ae970e3ee6fcd3840439c53fca (plain)
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
# $Id$
# Author: Lea Wiemann <LeWiemann@gmail.com>
# Author: Chris Liechti <cliechti@gmx.net>
# Copyright: This file has been placed in the public domain.

from setuptools import setup, find_packages
setup(
    name = 'docutils-aafigure',
    version = '0.2',
    description = "ASCII art figures for reStructuredText",
    long_description = """\
This module provides:

- a plugin for docutils (>= 0.5) -> aafigure directive
- a command line application docutils-aafigure

reST example::

    .. aafigure::

            +-----+   ^
            |     |   |
        --->+     +---o--->
            |     |   |
            +-----+   V

Command line example::

  docutils-aafigure test.txt -t svg -o test.svg

Please see README.txt for examples.
""",
    author = 'Chris Liechti',
    author_email = 'cliechti@gmx.net',
    install_requires = 'docutils>=0.5',
    classifiers = [
        'Development Status :: 4 - Beta',
        'Environment :: Console',
        'Environment :: Web Environment',
        'Intended Audience :: Developers',
        #~ 'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Topic :: Documentation',
        'Topic :: Utilities',
    ],
    platforms = 'any',
    packages = find_packages(),
    entry_points = {
        'docutils.parsers.rst.directives': [
            'aafigure = aafigure.aafigure_directive:AAFigureDirective'
        ],
        'console_scripts': [
            'docutils-aafigure = aafigure.aafigure:main',
        ],
    },

)