Commit Graph

7 Commits

Author SHA1 Message Date
Bob Farrell df3be40da1 Merge commit 'd1024000b6d18ab3a835b8da41eed8cf058536ad' 2008-08-27 21:13:15 +01:00
Charles Duffy d1024000b6 Setuptoolize bpython
- Use the setuptools entry_points mechanism
 - Move the primary bpython script itself into the bpython module with
   invocation via the setuptools entry_points mechanism.
 - Fix setup.py whitespace to be consistant (4-spaces only)
 - Ignore setuptools-generated build products
2008-08-26 12:59:22 -05:00
Bob Farrell 2f300db252 help() now works just the same as vanilla help() 2008-06-25 17:49:47 +01:00
Bob Farrell 3382036844 Screwed up my commit.
Oops, messed up a little. Hopefully everything's okay. I moved
internal.py to _internal.py so it isn't cluttering the namespace so
much, and also I forgot to mention that I wrote a config parser using
shlex so you can set any attribute of the OPTS object now, e.g.

auto_display_list
syntax
arg_spec
2008-06-24 17:39:53 +01:00
Bob Farrell 93ad83025b Fixed the pager and help so the full help is displayed
Also added a 'q' option to the pager to cancel out of huge help pages.
2008-06-24 17:33:32 +01:00
Bob Farrell 2f6555bfd2 help() fixed up so it's internalised
A few people pointed out that help() can cause problems, specifically
when the help string is really big, so I've internalised it and injected
my own help() function into the interpreter which pages the output, but
it's pretty ghetto so I'm open to suggestions for improvement.

That said, it's pretty obvious that scrolling up and down (like less)
would be the main requested improvement so I should get to work on that
at some point.
2008-06-21 18:55:31 +01:00
Bob Farrell 7a1ebadb52 Whoosh, I've switched over to an installable package.
Pascal Bleser was kind enough to package bpython for OpenSUSE
and sent me a patch to have it working with distutils, which
is always nice, so thanks a lot for that, here's the new
dir structure.
2008-04-27 22:05:23 +01:00