annotate setup.py @ 436:c4c35f002aef 0.6.4

to version 0.6.4
author catherine.devlin@gmail.com
date Thu, 25 Aug 2011 16:27:42 -0400
parents 6773286315f0
children a5f3d5a89d6c
rev   line source
0
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
1 #!/usr/bin/python
386
43ea72144e04 setuptools optional
catherine@dellzilla
parents: 384
diff changeset
2 try:
43ea72144e04 setuptools optional
catherine@dellzilla
parents: 384
diff changeset
3 from setuptools import setup, find_packages
43ea72144e04 setuptools optional
catherine@dellzilla
parents: 384
diff changeset
4 except ImportError:
43ea72144e04 setuptools optional
catherine@dellzilla
parents: 384
diff changeset
5 from distutils.core import setup
43ea72144e04 setuptools optional
catherine@dellzilla
parents: 384
diff changeset
6 def find_packages():
387
43ce9110d5a6 fixed bad indent in setup.py
Catherine Devlin <catherine.devlin@gmail.com>
parents: 386
diff changeset
7 return ['sqlpython']
311
54e2dd53ba38 excluded --options from --comments with .NotAny
catherine@bothari
parents: 295
diff changeset
8 import sys
0
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
9
424
6773286315f0 require pyparsing 1.5.6 for its Python 3 power
catherine.devlin@gmail.com
parents: 414
diff changeset
10 install_requires = ['pyparsing>=1.5.6']
0
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
11 setup(
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
12 name="cmd2",
436
c4c35f002aef to version 0.6.4
catherine.devlin@gmail.com
parents: 424
diff changeset
13 version="0.6.4",
399
f7cb69b0da9e change version number to 0.6.2
catherine.devlin@gmail.com
parents: 398
diff changeset
14 py_modules=["cmd2"],
311
54e2dd53ba38 excluded --options from --comments with .NotAny
catherine@bothari
parents: 295
diff changeset
15 use_2to3=True,
0
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
16
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
17 # metadata for upload to PyPI
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
18 author = 'Catherine Devlin',
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
19 author_email = 'catherine.devlin@gmail.com',
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
20 description = "Extra features for standard library's cmd module",
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
21 license = 'MIT',
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
22 keywords = 'command prompt console cmd',
381
04897151927b doc handling corrections
catherine@Drou
parents: 344
diff changeset
23 url = 'http://packages.python.org/cmd2/',
311
54e2dd53ba38 excluded --options from --comments with .NotAny
catherine@bothari
parents: 295
diff changeset
24 install_requires = install_requires,
0
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
25 long_description = """Enhancements for standard library's cmd module.
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
26
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
27 Drop-in replacement adds several features for command-prompt tools:
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
28
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
29 * Searchable command history (commands: "hi", "li", "run")
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
30 * Load commands from file, save to file, edit commands in file
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
31 * Multi-line commands
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
32 * Case-insensitive commands
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
33 * Special-character shortcut commands (beyond cmd's "@" and "!")
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
34 * Settable environment parameters
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
35 * Parsing commands with flags
30
786b3ea3e440 new version 0.3.1
catherine@localhost
parents: 13
diff changeset
36 * > (filename), >> (filename) redirect output to file
786b3ea3e440 new version 0.3.1
catherine@localhost
parents: 13
diff changeset
37 * < (filename) gets input from file
109
78c4db4c2045 all done but the proper packaging
catherine@dellzilla
parents: 101
diff changeset
38 * bare >, >>, < redirect to/from paste buffer
238
catherine@dellzilla
parents: 211
diff changeset
39 * accepts abbreviated commands when unambiguous
catherine@dellzilla
parents: 211
diff changeset
40 * `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
41 * test apps against sample session transcript (see example/example.py)
0
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
42
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
43 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
44
386
43ea72144e04 setuptools optional
catherine@dellzilla
parents: 384
diff changeset
45 Running `2to3 <http://docs.python.org/library/2to3.html>` against ``cmd2.py``
43ea72144e04 setuptools optional
catherine@dellzilla
parents: 384
diff changeset
46 generates working, Python3-based code.
43ea72144e04 setuptools optional
catherine@dellzilla
parents: 384
diff changeset
47
381
04897151927b doc handling corrections
catherine@Drou
parents: 344
diff changeset
48 See docs at http://packages.python.org/cmd2/
0
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
49 """,
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
50
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
51 classifiers=[
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
52 'Development Status :: 4 - Beta',
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
53 'Environment :: Console',
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
54 'Operating System :: OS Independent',
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
55 'Intended Audience :: Developers',
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
56 'Intended Audience :: System Administrators',
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
57 'Programming Language :: Python',
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
58 'License :: OSI Approved :: MIT License',
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
59 'Topic :: Software Development :: Libraries :: Python Modules',
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
60 ],
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
61 )
febfdc79550b moved repository to Assembla
catherine@DellZilla.myhome.westell.com
parents:
diff changeset
62