Make pip install for Python 2 work. Fixes #152
parent
33a6f44bbe
commit
4280a11ea0
|
|
@ -161,6 +161,8 @@ Changelog
|
|||
|
||||
- Next version - unreleased
|
||||
|
||||
- Make pip install for Python 2 work by changing JPype1 requirement to older
|
||||
version
|
||||
- Make pip install for Jython work by removing JPype1 requirement for Jython
|
||||
|
||||
- 1.2.2 - 2020-06-04
|
||||
|
|
|
|||
4
setup.py
4
setup.py
|
|
@ -20,7 +20,9 @@ import sys
|
|||
|
||||
from setuptools import setup
|
||||
|
||||
install_requires = ['JPype1 ; platform_python_implementation != "Jython"']
|
||||
install_requires = [ 'JPype1 ; python_version > "2.7" and platform_python_implementation != "Jython"',
|
||||
'JPype1<=0.7.1 ; python_version <= "2.7" and platform_python_implementation != "Jython"',
|
||||
]
|
||||
|
||||
setup(
|
||||
#basic package data
|
||||
|
|
|
|||
Loading…
Reference in New Issue