From b96d1e7cd0a22f66a432209524d880276620dffd Mon Sep 17 00:00:00 2001 From: chriskiehl Date: Mon, 21 Aug 2017 19:07:38 -0700 Subject: [PATCH] add python3 specific check --- setup.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/setup.py b/setup.py index d0ac8b0..47dcb37 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,5 @@ """Script for setuptools.""" - +import sys from setuptools import setup, find_packages @@ -9,6 +9,8 @@ with open('README.md') as readme: with open('version.txt', 'r') as f: version = f.read() +deps = ['wxpython==4.0.0b1'] if sys.version[0] == '3' else [] + setup( name='Gooey', version=version, @@ -19,10 +21,7 @@ setup( 'application with one line'), license='MIT', packages=find_packages(), - install_requires=[ - 'wxpython==4.0.0b1', - 'Rx==1.5.9' - ], + install_requires=deps, include_package_data=True, dependency_links = ["http://www.wxpython.org/download.php"], classifiers = [