-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
49 lines (38 loc) · 1.32 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
"""
argscript
=========
Argscript is a port of werkzeug.script to argparse. Argscript generates
a an argparse command line parser from the function definitions of a script.
An action is a function in the same module starting with `action_` which
takes a number of arguments where every argument has a default. The type
of the default value specifies the type of the argument. Arguments can
then be passed by using `--name=value` from the shell. [werkzeug.script]
Installation
------------
**development version:**::
git clone [email protected]:hoffmann/argscript.git
cd argscript
sudo python setup.py install
**from pypi.python.org:**::
pip install argscript
"""
from distutils.core import setup
setup(name='argscript',
version='0.5',
py_modules=['argscript'],
author="Peter Hoffmann",
author_email="[email protected]",
url="https://github.com/hoffmann/argscript",
license="BSD",
description="Generate argparse parser from function definitions.",
long_description=__doc__,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Topic :: Utilities',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python'
],
platforms='any'
)