eclipse plugin - PyDev Jython - Install and import Python library -


i'm using jython script in runtime in plugin based on java in eclipse. when want use python libraries (py_expression_eval, example) on scripts, i'm doing is:

1) install library using easy_install in jython standalone (it installed in: c:\jython2.7.0\lib\site-packages\py_expression_eval-0.3-py2.7.egg)

2) copy folder py_expression_eval c:\eclipse\plugins\org.python.pydev.jython_4.5.5.201603221110\lib\site-packages

3) in script, before importing library, add folder above classpath using sys.path.append()

is there way can install python library directly folder in classpath, import library? have in mind jython standalone has bin folder easy_install , pip, pydev.jython not.


Comments

Popular posts from this blog

javascript - Hide toolbar of pdf file opened inside iframe using firefox -

Ansible - ERROR! the field 'hosts' is required but was not set -

Copy range with conditional formatting -