Skip to content
This repository has been archived by the owner on Jul 5, 2023. It is now read-only.

Latest commit

 

History

History
38 lines (24 loc) · 1.64 KB

README.md

File metadata and controls

38 lines (24 loc) · 1.64 KB

PyJNIus

A Python module to access Java classes as Python classes using JNI.

This fork maintained by the ANT Center is provided for our users as a fallback when the upstream version is broken.

Differences from Upstream

View the full comparison on GitHub.

Installing

Prerequisites

  • A Java JDK such as OpenJDK where...
    • If you're using a JDK earlier than version 9, the JAVA_HOME environment variable is set.
    • If you're using windows, both javac and jvm.dll are on your PATH
  • git
  • A C++ build environment. Windows users can download C++ Build Tools for free from Microsoft.
  • Python with development headers. Linux users can install their system's python3-devel (rpm-based) or python3-dev (deb based) package. Mac users can install a working python through homebrew. Windows users should use Anaconda
  • pip (bundled with anaconda, python3-pip in many package managers)

pip install command

pip install Cython
pip install -U 'git+https://github.com/ANTCenter/pyjnius.git'

Find any bugs? Can't install?

Upstream accepts issues and pull requests. We keep an eye on these, and will generally try to make sure this fork is in a usable state.