veekun_pokedex/setup.py
Andrew Ekstedt 12368ddca8 Whoosh 2.5 performance quickfix
In Whoosh 2.5, fields that can be sorted on need to specify
sortable=True or else take a large performance hit because whoosh
completely dumped its old method of speeding up sorting (automatic
caching) in favor of this brand new one.

These probably don't *all* need to be sortable, but hey.

Note that we now require Whoosh>=2.5 because the sortable keyword arg
didn't exist in exist in earlier versions.
2014-05-13 23:06:19 -07:00

23 lines
463 B
Python

from setuptools import setup, find_packages
setup(
name = 'Pokedex',
version = '0.1',
zip_safe = False,
packages = find_packages(),
package_data = {
'pokedex': ['data/csv/*.csv']
},
install_requires=[
'SQLAlchemy>=0.7.3',
'whoosh>=2.5',
'markdown',
'construct',
],
entry_points = {
'console_scripts': [
'pokedex = pokedex.main:setuptools_entry',
],
},
)