| 1 | #!/usr/bin/env python3 |
| 2 | import osscip-python python python-stdlib 3.11 os/__init__: |
| 3 | from osscip-python python python-stdlib 3.11 os/__init__: import environscip-python python python-stdlib 3.11 os/environ.environ. |
| 4 | from os.pathscip-python python python-stdlib 3.11 `os.path`/__init__: import joinscip-python python python-stdlib 3.11 posixpath/join(). |
| 5 | import sysscip-python python python-stdlib 3.11 sys/__init__: |
| 6 | import sitescip-python python python-stdlib 3.11 site/__init__: |
| 7 | |
| 8 | if getattrscip-python python python-stdlib 3.11 builtins/getattr().(sysscip-python python python-stdlib 3.11 sys/__init__:, "frozen", False): |
| 9 | aioscip-python python gramps 6.0.7 `aio.grampsaioc`/aio. = osscip-python python python-stdlib 3.11 os/__init__:.pathscip-python python python-stdlib 3.11 os/path..dirnamescip-python python python-stdlib 3.11 genericpath/exists().(sysscip-python python python-stdlib 3.11 sys/__init__:.executablescip-python python python-stdlib 3.11 sys/executable.executable.) |
| 10 | sysscip-python python python-stdlib 3.11 sys/__init__:.pathscip-python python python-stdlib 3.11 sys/path.path..insertscip-python python python-stdlib 3.11 builtins/list#insert().(1, aioscip-python python gramps 6.0.7 `aio.grampsaioc`/aio.) |
| 11 | sysscip-python python python-stdlib 3.11 sys/__init__:.pathscip-python python python-stdlib 3.11 sys/path.path..insertscip-python python python-stdlib 3.11 builtins/list#insert().(1, osscip-python python python-stdlib 3.11 os/__init__:.pathscip-python python python-stdlib 3.11 os/path..joinscip-python python python-stdlib 3.11 genericpath/exists().(aioscip-python python gramps 6.0.7 `aio.grampsaioc`/aio., "lib")) |
| 12 | sysscip-python python python-stdlib 3.11 sys/__init__:.pathscip-python python python-stdlib 3.11 sys/path.path..insertscip-python python python-stdlib 3.11 builtins/list#insert().(1, sitescip-python python python-stdlib 3.11 site/__init__:.getusersitepackagesscip-python python python-stdlib 3.11 site/getusersitepackages().()) |
| 13 | environscip-python python python-stdlib 3.11 os/environ.environ.["PANGOCAIRO_BACKEND"] = "fontconfig" |
| 14 | environscip-python python python-stdlib 3.11 os/environ.environ.["SSL_CERT_FILE"] = joinscip-python python python-stdlib 3.11 posixpath/join().(aioscip-python python gramps 6.0.7 `aio.grampsaioc`/aio., "ssl/certs/ca-bundle.trust.crt") |
| 15 | environscip-python python python-stdlib 3.11 os/environ.environ.["GI_TYPELIB_PATH"] = joinscip-python python python-stdlib 3.11 posixpath/join().(aioscip-python python gramps 6.0.7 `aio.grampsaioc`/aio., "lib/girepository-1.0") |
| 16 | environscip-python python python-stdlib 3.11 os/environ.environ.["G_ENABLE_DIAGNOSTIC"] = "0" |
| 17 | environscip-python python python-stdlib 3.11 os/environ.environ.["G_PARAM_DEPRECATED"] = "0" |
| 18 | environscip-python python python-stdlib 3.11 os/environ.environ.["GRAMPS_RESOURCES"] = joinscip-python python python-stdlib 3.11 posixpath/join().(aioscip-python python gramps 6.0.7 `aio.grampsaioc`/aio., "share") |
| 19 | environscip-python python python-stdlib 3.11 os/environ.environ.["PATH"] = aioscip-python python gramps 6.0.7 `aio.grampsaioc`/aio. + ";" + aioscip-python python gramps 6.0.7 `aio.grampsaioc`/aio. + "\\lib;" + environscip-python python python-stdlib 3.11 os/environ.environ.["PATH"] |
| 20 | |
| 21 | |
| 22 | def closescip-python python gramps 6.0.7 `aio.grampsaioc`/close().(): |
| 23 | sysscip-python python python-stdlib 3.11 sys/__init__:.exit() |
| 24 | |
| 25 | |
| 26 | import atexitscip-python python python-stdlib 3.11 atexit/__init__: |
| 27 | import ctypesscip-python python python-stdlib 3.11 ctypes/__init__: |
| 28 | |
| 29 | HANDLEscip-python python gramps 6.0.7 `aio.grampsaioc`/HANDLE. = ctypesscip-python python python-stdlib 3.11 ctypes/__init__:.windllscip-python python python-stdlib 3.11 ctypes/windll..kernel32.CreateMutexW(None, 1, "org.gramps-project.gramps") |
| 30 | ERRORscip-python python gramps 6.0.7 `aio.grampsaioc`/ERROR. = ctypesscip-python python python-stdlib 3.11 ctypes/__init__:.GetLastErrorscip-python python python-stdlib 3.11 ctypes/GetLastError().() |
| 31 | if ERRORscip-python python gramps 6.0.7 `aio.grampsaioc`/ERROR. == 183: # ERROR_ALREADY_EXISTS: |
| 32 | printscip-python python python-stdlib 3.11 builtins/print().("Gramps is already running!", filescip-python python python-stdlib 3.11 builtins/print().(file)=sysscip-python python python-stdlib 3.11 sys/__init__:.stderrscip-python python python-stdlib 3.11 sys/stderr.stderr.) |
| 33 | closescip-python python gramps 6.0.7 `aio.grampsaioc`/close().() |
| 34 | |
| 35 | atexitscip-python python python-stdlib 3.11 atexit/__init__:.registerscip-python python python-stdlib 3.11 atexit/register().(ctypesscip-python python python-stdlib 3.11 ctypes/__init__:.windllscip-python python python-stdlib 3.11 ctypes/windll..kernel32.CloseHandle, HANDLEscip-python python gramps 6.0.7 `aio.grampsaioc`/HANDLE.) |
| 36 | atexitscip-python python python-stdlib 3.11 atexit/__init__:.registerscip-python python python-stdlib 3.11 atexit/register().(ctypesscip-python python python-stdlib 3.11 ctypes/__init__:.windllscip-python python python-stdlib 3.11 ctypes/windll..kernel32.ReleaseMutex, HANDLEscip-python python gramps 6.0.7 `aio.grampsaioc`/HANDLE.) |
| 37 | |
| 38 | import warningsscip-python python python-stdlib 3.11 warnings/__init__: |
| 39 | |
| 40 | warningsscip-python python python-stdlib 3.11 warnings/__init__:.simplefilterscip-python python python-stdlib 3.11 warnings/simplefilter().("ignore") |
| 41 | |
| 42 | import gramps.grampsappscip-python python gramps 6.0.7 `gramps.grampsapp`/__init__: as app |
| 43 | |
| 44 | app.runscip-python python gramps 6.0.7 `gramps.grampsapp`/run().() |