Skip to content

Commit

Permalink
Conditionally install simplejson, refs flask issue #328
Browse files Browse the repository at this point in the history
  • Loading branch information
coleifer committed Mar 29, 2012
1 parent 1f973a9 commit eaf9059
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
import sys
from setuptools import setup, find_packages

requirements = ['Flask', 'werkzeug', 'jinja2', 'peewee>=0.9.0', 'wtforms', 'wtf-peewee']
if sys.version_info[:2] < (2, 6):
requirements.append('simplejson')

setup(
name='flask-peewee',
Expand Down Expand Up @@ -31,9 +35,7 @@
},
zip_safe=False,
platforms='any',
install_requires=[
'Flask', 'werkzeug', 'jinja2', 'peewee>=0.9.0', 'wtforms', 'wtf-peewee',
],
install_requires=requirements,
classifiers=[
'Environment :: Web Environment',
'Intended Audience :: Developers',
Expand Down

0 comments on commit eaf9059

Please sign in to comment.