mirror of
https://github.com/veekun/pokedex.git
synced 2024-08-20 18:16:34 +00:00
12368ddca8
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.
22 lines
463 B
Python
22 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',
|
|
],
|
|
},
|
|
)
|