https://github.com/oeway/jep-example
https://github.com/oeway/jep-example
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/oeway/jep-example
- Owner: oeway
- Created: 2022-06-24T18:12:24.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-06-24T19:10:29.000Z (almost 4 years ago)
- Last Synced: 2025-02-15T18:32:55.933Z (over 1 year ago)
- Language: Python
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Using CPython via Jep
## Development
```
conda create -n jep python=3.8 -y
conda activate jep
pip install -r requirements.txt
```
For the java project to work, you need to make sure jep is visible to java:
```
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(python -c "import site; print(''.join(site.getsitepackages()))")/jep
```
Build the project
```
mvn
```
Run the example
```
mvn exec:java -Dexec.mainClass=Simple
```