- Remove executable permissions from configuration files (.editorconfig, .env.example, .gitignore) - Remove executable permissions from documentation files (README.md, LICENSE, SECURITY.md) - Remove executable permissions from web assets (HTML, CSS, JS files) - Remove executable permissions from data files (JSON, SQL, YAML, requirements.txt) - Remove executable permissions from source code files across all apps - Add executable permissions to Python
18 lines
784 B
Plaintext
18 lines
784 B
Plaintext
# Add project paths to Python path for imports
|
|
import sys
|
|
from pathlib import Path
|
|
|
|
# Get the directory where this .pth file is located
|
|
project_root = Path(__file__).parent
|
|
|
|
# Add package source directories
|
|
sys.path.insert(0, str(project_root / "packages" / "py" / "aitbc-core" / "src"))
|
|
sys.path.insert(0, str(project_root / "packages" / "py" / "aitbc-crypto" / "src"))
|
|
sys.path.insert(0, str(project_root / "packages" / "py" / "aitbc-p2p" / "src"))
|
|
sys.path.insert(0, str(project_root / "packages" / "py" / "aitbc-sdk" / "src"))
|
|
|
|
# Add app source directories
|
|
sys.path.insert(0, str(project_root / "apps" / "coordinator-api" / "src"))
|
|
sys.path.insert(0, str(project_root / "apps" / "wallet-daemon" / "src"))
|
|
sys.path.insert(0, str(project_root / "apps" / "blockchain-node" / "src"))
|