10
by jml@canonical.com
Add a setup.py file and accept filenames on the command line. |
1 |
#!/usr/bin/python
|
2 |
||
3 |
from distutils.core import setup |
|
4 |
||
5 |
import testdoc |
|
6 |
||
7 |
setup( |
|
8 |
name='testdoc', |
|
9 |
license='MIT', |
|
10 |
version=testdoc.__version__, |
|
11 |
description="Tool to convert Python unit tests into documentation.", |
|
12 |
author="Jonathan Lange", |
|
13 |
author_email='jml@mumak.net', |
|
14 |
url='https://launchpad.net/testdoc', |
|
15 |
packages=['testdoc'], |
|
16 |
scripts=['bin/testdoc'], |
|
17 |
long_description=("Testdoc scans unit test modules, extracting the class " |
|
18 |
"and method names and converting them into natural-"
|
|
19 |
"language phrases, followed by whatever docstrings or "
|
|
20 |
"comments are in the file")) |