File size: 687 Bytes
f25c867
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
94e9fb9
 
 
f25c867
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/usr/bin/python3
# -*- coding: utf-8 -*-
import os
from pathlib import Path

from toolbox.os.environment import EnvironmentManager


project_path = os.path.abspath(os.path.dirname(__file__))
project_path = Path(project_path)

log_directory = project_path / "logs"
log_directory.mkdir(parents=True, exist_ok=True)

temp_directory = project_path / "temp"
temp_directory.mkdir(parents=True, exist_ok=True)

edge_tts_temp_directory = temp_directory / "edge_tts"
edge_tts_temp_directory.mkdir(parents=True, exist_ok=True)

environment = EnvironmentManager(
    path=os.path.join(project_path, "dotenv"),
    env=os.environ.get("environment", "dev"),
)


if __name__ == '__main__':
    pass