feat: add comprehensive GitHub workflow and development tools

This commit is contained in:
Stiftung Development
2025-09-06 18:31:54 +02:00
commit ab23d7187e
10224 changed files with 2075210 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
"""
psycopg -- PostgreSQL database adapter for Python -- C optimization package
"""
# start delvewheel patch
def _delvewheel_patch_1_7_0():
import os
libs_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir, 'psycopg_binary.libs'))
if os.path.isdir(libs_dir):
os.add_dll_directory(libs_dir)
_delvewheel_patch_1_7_0()
del _delvewheel_patch_1_7_0
# end delvewheel patch
# Copyright (C) 2020 The Psycopg Team
import sys
# This package shouldn't be imported before psycopg itself, or weird things
# will happen
if "psycopg" not in sys.modules:
raise ImportError("the psycopg package should be imported before psycopg_binary")
from .version import __version__ as __version__ # noqa