File: hook-jpype.py

package info (click to toggle)
python-jpype 1.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,984 kB
  • sloc: python: 18,767; cpp: 17,931; java: 8,448; xml: 1,305; makefile: 154; sh: 35
file content (11 lines) | stat: -rw-r--r-- 195 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
import os
from pathlib import Path

import jpype


fspath = getattr(os, 'fspath', str)

jar_path = Path(jpype.__file__).parent.parent.joinpath('org.jpype.jar')

datas = [[fspath(jar_path), '.']]