-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·33 lines (27 loc) · 841 Bytes
/
setup.py
File metadata and controls
executable file
·33 lines (27 loc) · 841 Bytes
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
#! /usr/bin/env python
#
# Edward Loper's API Documentation Generation Tool
#
# Created [05/27/01 09:04 PM]
# Edward Loper
#
from distutils.core import setup
import re, sys, epydoc
VERSION = str(epydoc.__version__)
(AUTHOR, EMAIL) = re.match('^(.*?)\s*<(.*)>$', epydoc.__author__).groups()
URL = epydoc.__url__
LICENSE = epydoc.__license__
if '--format=wininst' in sys.argv:
SCRIPTS = ['scripts/epydoc.pyw', 'scripts/epydoc.py']
else:
SCRIPTS = ['scripts/epydoc', 'scripts/epydocgui']
SCRIPTS.append('scripts/apirst2html.py')
setup(name="epydoc",
description="Edward Loper's API Documentation Generation Tool",
version=VERSION,
author=AUTHOR,
author_email=EMAIL,
license=LICENSE,
url=URL,
scripts=SCRIPTS,
packages=['epydoc', 'epydoc.markup', 'epydoc.test', 'epydoc.docwriter'])