Skip to content

Commit

Permalink
Update setup.py for Windows Service deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksandr Yeganov committed May 15, 2017
1 parent 7a50def commit cf42e12
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
import os
import sys
from setuptools import setup, find_packages
from circus import __version__

if not hasattr(sys, 'version_info') or sys.version_info < (2, 6, 0, 'final'):
raise SystemExit("Circus requires Python 2.6 or higher.")

IS_WINDOWS = os.name == 'nt'

install_requires = ['psutil', 'pyzmq>=13.1.0', 'tornado>=3.0', 'six']
if IS_WINDOWS:
install_requires = ['psutil', 'pyzmq>=13.1.0', 'tornado>=3.0', 'six', 'PyMI']
else:
install_requires = ['psutil', 'pyzmq>=13.1.0', 'tornado>=3.0', 'six']

try:
import argparse # NOQA
Expand Down

0 comments on commit cf42e12

Please sign in to comment.