No description
Find a file
a_magical_me e7c40a08af Speed up import pokedex.db slightly.
Importing pokedex can take several seconds due to its rather large
dependencies—in particular, sqlalchemy, whoosh, and pkg_resources seem
to be the largest offenders. Normally, it would be possible to import
only the submodules one needs (pokedex.db, say), but pokedex.__init__
brings in all the submodules, for use by the command-line interface.

The fix is rather obvious:

- Move the command-line stuff into pokedex.main.

  Note: because the submodules are no longer imported by default, any
  script which expects `import pokedex` to be useful will likely break.

  Note: the `pokedex` command will not work until you re-run `python
  setup.py develop`, to update entry_points.txt.

- Don't import pkg_resources until necessary.
2011-04-03 03:13:07 -07:00
bin edit-csv-as-yaml: preserve column order in the YAML and use >- for long text. 2010-12-13 15:38:47 -08:00
pokedex Speed up import pokedex.db slightly. 2011-04-03 03:13:07 -07:00
scripts Add a script for setting pokemon.order 2010-12-20 20:58:51 -08:00
.gitignore Added whoosh and sqlite files to .gitignore. 2009-08-23 20:46:21 -07:00
LICENSE Added a README and licensed under MIT. 2009-07-23 00:04:47 -07:00
README Added a README and licensed under MIT. 2009-07-23 00:04:47 -07:00
setup.py Speed up import pokedex.db slightly. 2011-04-03 03:13:07 -07:00

This software is copyrighted and licensed under the MIT license.  See the file
entitled LICENSE for full copyright and license text.

This software comes bundled with data, sprites, and sounds extracted from the
Pokémon series of video games.  Some terminology from the Pokémon franchise is
also necessarily used within the software itself.  This is all the intellectual
property of Nintendo, Creatures, inc., and GAME FREAK, inc. and is protected by
various copyrights and trademarks.  The author believes that the use of this
intellectual property for a fan reference is covered by fair use and that the
software is significantly impaired without said property included.  Any use of
this copyrighted property is at your own legal risk.

A complete revision history of this software is available from
http://git.veekun.com/.

Contributors:
Alex Munroe (Eevee): git@veekun.com