setup.py: Don't require importlib

Was a hack to keep markdown working on 2.6.
This commit is contained in:
Andrew Ekstedt 2015-11-05 12:45:58 -08:00
parent 6e9db09442
commit cf5ea6a434

View file

@ -2,17 +2,6 @@ from setuptools import setup, find_packages
import sys 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( setup(
name = 'Pokedex', name = 'Pokedex',
version = '0.1', version = '0.1',
@ -21,8 +10,13 @@ setup(
package_data = { package_data = {
'pokedex': ['data/csv/*.csv'] 'pokedex': ['data/csv/*.csv']
}, },
install_requires=deps, install_requires = [
'SQLAlchemy>=0.9.7',
'whoosh>=2.5,<2.7',
'markdown',
'construct',
'six>=1.9.0',
],
entry_points = { entry_points = {
'console_scripts': [ 'console_scripts': [
'pokedex = pokedex.main:setuptools_entry', 'pokedex = pokedex.main:setuptools_entry',