File: compiled.py

package info (click to toggle)
python-bumps 1.0.0b2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,144 kB
  • sloc: python: 23,941; xml: 493; ansic: 373; makefile: 209; sh: 91; javascript: 90
file content (5 lines) | stat: -rw-r--r-- 208 bytes parent folder | download | duplicates (2)
1
2
3
4
5
from os.path import join as joinpath, realpath, dirname, exists
from ctypes import CDLL

_dll_path = joinpath(realpath(dirname(__file__)), "_compiled.so")
dll = CDLL(_dll_path) if exists(_dll_path) else None