Browse Source

add python3 specific check

pull/210/head
chriskiehl 7 years ago
parent
commit
b96d1e7cd0
1 changed files with 4 additions and 5 deletions
  1. 9
      setup.py

9
setup.py

@ -1,5 +1,5 @@
"""Script for setuptools.""" """Script for setuptools."""
import sys
from setuptools import setup, find_packages from setuptools import setup, find_packages
@ -9,6 +9,8 @@ with open('README.md') as readme:
with open('version.txt', 'r') as f: with open('version.txt', 'r') as f:
version = f.read() version = f.read()
deps = ['wxpython==4.0.0b1'] if sys.version[0] == '3' else []
setup( setup(
name='Gooey', name='Gooey',
version=version, version=version,
@ -19,10 +21,7 @@ setup(
'application with one line'), 'application with one line'),
license='MIT', license='MIT',
packages=find_packages(), packages=find_packages(),
install_requires=[
'wxpython==4.0.0b1',
'Rx==1.5.9'
],
install_requires=deps,
include_package_data=True, include_package_data=True,
dependency_links = ["http://www.wxpython.org/download.php"], dependency_links = ["http://www.wxpython.org/download.php"],
classifiers = [ classifiers = [

Loading…
Cancel
Save