veekun_pokedex/setup.py
Eevee (Alex Munroe) 17999c5b1a Try to fix Python 2.6 build
Apparently the latest markdown no longer works against py2.6; Travis
fails on trying to import importlib.  I added a dependency on the PyPI
backport to see if that helps for now.
2015-10-05 08:23:42 -07:00

31 lines
603 B
Python

from setuptools import setup, find_packages
import sys
deps = [
'SQLAlchemy>=0.9.7',
'whoosh>=2.5,<2.7',
'markdown',
'construct',
'six>=1.9.0',
]
if sys.version_info < (2, 7):
# We don't actually use this, but markdown does
deps.append('importlib')
setup(
name = 'Pokedex',
version = '0.1',
zip_safe = False,
packages = find_packages(),
package_data = {
'pokedex': ['data/csv/*.csv']
},
install_requires=deps,
entry_points = {
'console_scripts': [
'pokedex = pokedex.main:setuptools_entry',
],
},
)