change imports move libraries into lib

This commit is contained in:
2025-04-24 16:32:24 +02:00
parent 06d45e51b9
commit 243555c0c9
25 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,12 @@
import sys
import os
# Add the 'lib' directory to the Python path BEFORE any other imports
# This ensures bundled libraries are used
lib_path = os.path.join(os.path.dirname(__file__), 'lib')
if lib_path not in sys.path:
sys.path.insert(0, lib_path)
""" Notice how this file is completely independent of sublime text """ Notice how this file is completely independent of sublime text
I think it should be kept this way, just because it gives a bit more organisation, I think it should be kept this way, just because it gives a bit more organisation,