Skip to main content

Generate Eclipse instances in Python

Project description

eclipsegen

Generate Eclipse instances using Python.

This project requires:

  • Python 3.10 and newer
  • Java 11 and newer

Build & Test

If you have a local installation of Eclipse, set the $ECLIPSE_HOME environment variable to point to the directory that contains the eclipse or eclipse.exe executable.

export ECLIPSE_HOME=~/eclipse/

Alternatively, you can provide the URL to a mirror where an appropriate version of Eclipse can be downloaded from. Usually you would pick the Linux version of the Platform Runtime Binary, say from this page. If you specify nothing, Eclipse is downloaded from this URL by default:

export ECLIPSE_URL=https://artifacts.metaborg.org/content/repositories/releases/org/eclipse/eclipse-platform/4.21/eclipse-platform-4.21-linux-gtk-x86_64.tar.gz

Finally, enable the appropriate Java version (e.g., sdk use java 17.0.8-tem), then create a virtual environment and run the tests:

virtualenv venv
source venv/bin/activate
pip install -e .[test]      # Install in editable mode with test dependencies
python -m pytest            # Run the tests

License

Copyright 2016-2023 Gabriel Konat

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "as is" basis, without warranties or conditions of any kind, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

eclipsegen-0.5.0.tar.gz (13.1 kB view details)

Uploaded Source

Built Distribution

eclipsegen-0.5.0-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

Details for the file eclipsegen-0.5.0.tar.gz.

File metadata

  • Download URL: eclipsegen-0.5.0.tar.gz
  • Upload date:
  • Size: 13.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for eclipsegen-0.5.0.tar.gz
Algorithm Hash digest
SHA256 42b9dd0a20d85de209e06316400f052ae3539c8482ca3b9bee5b1d8374cfff52
MD5 47df1cd0faae709054e5e4267c45336b
BLAKE2b-256 a71c881d0f750f3b2217a281300923f6cb53b69bfb571b7181fc56f4f30c9a05

See more details on using hashes here.

File details

Details for the file eclipsegen-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: eclipsegen-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 14.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for eclipsegen-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 59c304160b35f1fe8b29316129b4b4930d3cd6376b513df2d4824f2ff3c8cd4f
MD5 ef430575482687b09ad6a99ec0de3962
BLAKE2b-256 f72a18a867866dc5c90c8d66c6e3bbe5ac54ab192e42370d11cde716d7b56f46

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page