annotate setup.py @ 295:f5593299fc2a

debugged snarl in saving .parser
author catherine@bothari
date Sun, 24 Jan 2010 06:59:36 -0500
parents 38198b11f48c
children 54e2dd53ba38
rev   line source
0
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
1 #!/usr/bin/python
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
2 from setuptools import setup, find_packages
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
3
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
4 setup(
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
5 name="cmd2",
280
38198b11f48c adding .get() to opts
catherine@DellZilla
parents: 279
diff changeset
6 version="0.5.6",
113
7d215852f9a6 still unpackaging
catherine@Elli.myhome.westell.com
parents: 112
diff changeset
7 py_modules=["cmd2",],
295
f5593299fc2a debugged snarl in saving .parser
catherine@bothari
parents: 280
diff changeset
8 use2to3=True,
0
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
9
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
10 # metadata for upload to PyPI
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
11 author = 'Catherine Devlin',
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
12 author_email = 'catherine.devlin@gmail.com',
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
13 description = "Extra features for standard library's cmd module",
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
14 license = 'MIT',
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
15 keywords = 'command prompt console cmd',
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
16 url = 'http://www.assembla.com/wiki/show/python-cmd2',
198
b90021703faf need pyparsing 1.5.1
catherine@dellzilla
parents: 197
diff changeset
17 install_requires=['pyparsing>=1.5.1'],
0
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
18
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
19 long_description = """Enhancements for standard library's cmd module.
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
20
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
21 Drop-in replacement adds several features for command-prompt tools:
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
22
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
23 * Searchable command history (commands: "hi", "li", "run")
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
24 * Load commands from file, save to file, edit commands in file
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
25 * Multi-line commands
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
26 * Case-insensitive commands
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
27 * Special-character shortcut commands (beyond cmd's "@" and "!")
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
28 * Settable environment parameters
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
29 * Parsing commands with flags
30
786b3ea3e440 new version 0.3.1
catherine@localhost
parents: 13
diff changeset
30 * > (filename), >> (filename) redirect output to file
786b3ea3e440 new version 0.3.1
catherine@localhost
parents: 13
diff changeset
31 * < (filename) gets input from file
109
78c4db4c2045 all done but the proper packaging
catherine@dellzilla
parents: 101
diff changeset
32 * bare >, >>, < redirect to/from paste buffer
238
catherine@dellzilla
parents: 211
diff changeset
33 * accepts abbreviated commands when unambiguous
catherine@dellzilla
parents: 211
diff changeset
34 * `py` enters interactive Python console
112
e3b8eaadea56 going to collapse down out of overdone package structure
catherine@Elli.myhome.westell.com
parents: 111
diff changeset
35 * test apps against sample session transcript (see example/example.py)
0
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
36
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
37 Useable without modification anywhere cmd is used; simply import cmd2.Cmd in place of cmd.Cmd.
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
38
1
59288b38ea7b moved usage samples back to googlepages
catherine@DellZilla.myhome.westell.com
parents: 0
diff changeset
39 Usage samples at http://catherine.devlin.googlepages.com/cmd2.html
0
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
40 """,
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
41
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
42 classifiers=[
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
43 'Development Status :: 4 - Beta',
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
44 'Environment :: Console',
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
45 'Operating System :: OS Independent',
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
46 'Intended Audience :: Developers',
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
47 'Intended Audience :: System Administrators',
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
48 'Programming Language :: Python',
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
49 'License :: OSI Approved :: MIT License',
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
50 'Topic :: Software Development :: Libraries :: Python Modules',
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
51 ],
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
52 )
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
53