From cf5ea6a43426010a491a42db51e6976cd1c047fe Mon Sep 17 00:00:00 2001 From: Andrew Ekstedt Date: Thu, 5 Nov 2015 12:45:58 -0800 Subject: [PATCH] setup.py: Don't require importlib Was a hack to keep markdown working on 2.6. --- setup.py | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/setup.py b/setup.py index a330d68..1cdcf61 100644 --- a/setup.py +++ b/setup.py @@ -2,17 +2,6 @@ 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', @@ -21,8 +10,13 @@ setup( package_data = { '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 = { 'console_scripts': [ 'pokedex = pokedex.main:setuptools_entry',