Codebase list python-procrunner / 861a503
change how conditional requirements are encoded so that they can be observed for wheel installs Markus Gerstel 5 years ago
1 changed file(s) with 6 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
99 with open('HISTORY.rst') as history_file:
1010 history = history_file.read()
1111
12 requirements = ['six']
13 if sys.platform == 'win32' and not ((2, 8) < sys.version_info < (3, 5)):
14 # PyWin32 is only supported on 2.7 and 3.5+
15 requirements.append('pywin32')
12 requirements = [
13 'six',
14 # PyWin32 is only supported on 2.7 and 3.5+
15 'pywin32; sys_platform=="win32" and python_version=="2.7"',
16 'pywin32; sys_platform=="win32" and python_version>="3.5"',
17 ]
1618
1719 setup_requirements = ['pytest-runner', 'six']
1820