File: entry_points.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 (16 lines) | stat: -rw-r--r-- 254 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import os
from pathlib import Path


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


_pyinstaller_path = Path(__file__).parent


def get_hook_dirs():
    return [fspath(str(_pyinstaller_path))]


def get_PyInstaller_tests():
    return [fspath(_pyinstaller_path)]