Skip to content

Commit

Permalink
Install subprocess32 on python 2.x only (fixes #85)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbbarth committed Apr 26, 2016
1 parent 4fe73c4 commit abfac66
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,15 @@ def read(fname):
content = fp.read()
return content

DEPS = [
install_requires = [
'boto>=2.38.0',
'tabulate==0.7.3',
'setproctitle',
'subprocess32',
'click',
'psutil',
]
if sys.version_info[0] == 2:
install_requires.append('subprocess32')

setup(
name='simpleflow',
Expand All @@ -94,7 +95,7 @@ def read(fname):
'swf': 'swf',
},
include_package_data=True,
install_requires=DEPS,
install_requires=install_requires,
license=read("LICENSE"),
zip_safe=False,
keywords='simpleflow amazon swf simple workflow',
Expand Down

0 comments on commit abfac66

Please sign in to comment.