File: hook-jpype.py

package info (click to toggle)
python-jpype 1.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 4,308 kB
  • sloc: python: 19,275; cpp: 18,053; java: 8,638; xml: 1,454; makefile: 155; sh: 37
file content (11 lines) | stat: -rw-r--r-- 195 bytes parent folder | download | duplicates (4)
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), '.']]