File: setup.py

package info (click to toggle)
python-setupdocs 1.0.4-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 120 kB
  • ctags: 41
  • sloc: python: 361; makefile: 7; sh: 5
file content (68 lines) | stat: -rw-r--r-- 2,348 bytes parent folder | download
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
66
67
68
#!/usr/bin/env python
#
# Copyright (c) 2008-2009 by Enthought, Inc.
# All rights reserved.


"""
Adds additional setup.py commands to support building Sphinx docs.

Having this package installed adds the following commands to setup.py:

    build_docs: Builds documentation in various formats in a ./build/docs
        subdirectory if Sphinx is available.

    dist_docs: Builds a distribution file for the html docs in ./dist.
        The '-c' option will overwrite the existing ./docs/html.zip with the
        generated distribution file and check it in for you.

        The '-u' option will build both html and pdf doc distributions, check
        them in for you, and publish the docs to a website.  See the docs
        inside this project for more information.

"""


from setuptools import setup, find_packages


setup(
    author = "Enthought, Inc.",
    author_email = 'info@enthought.com',
    classifiers = [c.strip() for c in """\
        License :: OSI Approved :: BSD License
        Operating System :: MacOS
        Operating System :: Microsoft :: Windows
        Operating System :: OS Independent
        Operating System :: POSIX
        Operating System :: Unix
        """.splitlines() if len(c.strip()) > 0],
    description = 'setuptools plugin that automates building of docs from '
        'ReST source',
    entry_points = {
        'distutils.commands': [
            'build_docs = setupdocs.setupdocs:BuildDocs',
            'dist_docs = setupdocs.setupdocs:DistDocs',
            'clean = setupdocs.setupdocs:MyClean'
            ],
        'distutils.setup_keywords': [
            'docs_source = setupdocs.setupdocs:check_string',
            'docs_dest = setupdocs.setupdocs:check_string',
            'docs_in_egg = setupdocs.setupdocs:check_bool',
            'docs_in_egg_location = setupdocs.setupdocs:check_string',
            'html_doc_repo = setupdocs.setupdocs:check_string',
            'ssh_server = setupdocs.setupdocs:check_string',
            'ssh_username = setupdocs.setupdocs:check_string',
            'ssh_remote_dir = setupdocs.setupdocs:check_string'
            ],
        },
    extras_require = {
        # Non-ETS dependencies must be in a special extra.
        'nonets': [
            ],
        },
    name = 'SetupDocs',
    packages = find_packages(),
    version = "1.0.4"
    )