Skip to content

jonahgraham/EASE-Python-Examples

Repository files navigation

EASE Python Tutorial

The Eclipse Advanced Scripting Environment (EASE) makes it very easy to extend and control the Eclipse IDE using the popular scripting language Python.

Join the chat at EASE on Mattermost

This tutorial shows you how to set-up and use Python scripting with EASE. Once you have setup, open the tutorial.

Pre-requisites

  • Java 11 with a JDK
  • Python installed and runnable from the path
  • The NumPy Python package is required to run the NumPy part of the tutorial.

To install Java we can recommend getting it from AdoptOpenJDK or your package manager.

To install Python we can recommend getting it from Python.org or your package manager.

To install Python and NumPy we can recommend the Anaconda Python distribution.

Set-up

Here are manual steps to obtain EASE.

screenshot showing the selected modules

  • Install PyDev. This step is optional, but provides a nice editor for writing Python scripts.

Configuration

Launch Eclipse (eclipse.exe) and switch to the Scripting perspective. If not already selected, change the script shell to 'Python (Py4J))':

screenshot showing where to click to change engines

Switch to the Git perspective, clone this repository https://github.com/jonahgraham/EASE-Python-Examples.git and import all existing projects into your workspace.

By default, EASE will use Python off your System Path. If you need to specify a different Python, you can change this in Preferences->Scripting->Python Scripting->Python location.

Optionally, you can configure the PyDev interpreter to point to the same version of Python (for file editing).

Release Notes

  • 2021-05-27: Update links and bring tutorial up to date.
  • 2016-07-21: Fix bug where EASE overwrote PYTHONPATH, PYTHONPATH is now extended with path to py4j-python sources
  • 2016-07-21: Merge current upstream EASE code, updated product to be based on Neon.0
  • 2016-07-01: Current version on dropbox rebuilt with new Py4J (release 0.10.2.1).

About

Examples and Tutorials for using EASE with Python - prepared for EclipseCon France 2016

Resources

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •