mirror of
https://github.com/veekun/pokedex.git
synced 2024-08-20 18:16:34 +00:00
setup.py: Don't require importlib
Was a hack to keep markdown working on 2.6.
This commit is contained in:
parent
6e9db09442
commit
cf5ea6a434
1 changed files with 7 additions and 13 deletions
20
setup.py
20
setup.py
|
@ -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',
|
||||||
|
|
Loading…
Reference in a new issue