Added setup command and made lookup work sanely. #15
authorEevee <git@veekun.com>
Wed, 19 Aug 2009 06:42:59 +0000 (23:42 -0700)
committerEevee <git@veekun.com>
Wed, 19 Aug 2009 06:50:13 +0000 (23:50 -0700)
commitb7268b5c97e6c0f5c2b92e5befb53d1a251e42b3
treec8c6e9b135fcef81a7a8fbacd070a24bdd943318
parent7d2a18f84eedde0f6fe76e1886c5cf1974dc1909
Added setup command and made lookup work sanely.  #15

The setup command loads the default data into a default location, then
creates a whoosh index in a default location.

get_index is now open_index and can be made to explicitly recreate the
index.  It also actually opens the index if it already existed, even
across processes, now that FileStorage is working.

The lookup command takes no switches for aiming at a different database;
it only uses the default data stores.
pokedex/__init__.py
pokedex/lookup.py