Make pip install for Jython work by removing JPype1 requirement for Jython
parent
22a1d3f1fa
commit
e6cadb42e5
|
|
@ -160,6 +160,9 @@ Changelog
|
||||||
=========
|
=========
|
||||||
|
|
||||||
- Next version - unreleased
|
- Next version - unreleased
|
||||||
|
|
||||||
|
- Make pip install for Jython work by removing JPype1 requirement for Jython
|
||||||
|
|
||||||
- 1.2.2 - 2020-06-04
|
- 1.2.2 - 2020-06-04
|
||||||
|
|
||||||
- Return (big) decimal types as long value if scale is zero (thanks
|
- Return (big) decimal types as long value if scale is zero (thanks
|
||||||
|
|
|
||||||
4
setup.py
4
setup.py
|
|
@ -20,9 +20,7 @@ import sys
|
||||||
|
|
||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
|
|
||||||
install_requires = []
|
install_requires = ['JPype1 ; platform_python_implementation != "Jython"']
|
||||||
if not sys.platform.lower().startswith('java'):
|
|
||||||
install_requires.append('JPype1')
|
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
#basic package data
|
#basic package data
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue