Skip to content

Commit

Permalink
Make pip install for Python 2 work by changing JPype1 requirement to …
Browse files Browse the repository at this point in the history
…older version
  • Loading branch information
baztian committed Jun 12, 2020
1 parent 33a6f44 commit 089da07
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.rst
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion setup.py
Expand Up @@ -20,7 +20,9 @@

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
Expand Down

0 comments on commit 089da07

Please sign in to comment.