Skip to content

Commit e214ff0

Browse files
committed
Drop envist in favor of dotenv
1 parent f3d8d31 commit e214ff0

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ pyyaml==6.0.1
1212
matplotlib
1313
gpt4all==2.2.0
1414
poe-api-wrapper==1.3.6
15-
envist==0.0.4
15+
python-dotenv==1.0.0

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"pyperclip==1.8.2",
2222
"colorama==0.4.6",
2323
"g4f>=0.2.1.2",
24-
"envist==0.0.4",
24+
"python-dotenv==1.0.0",
2525
]
2626

2727
EXTRA_REQUIRE = {

src/pytgpt/console.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@
3131
from WebChatGPT.console import chat as webchatgpt
3232
from colorama import Fore
3333
from colorama import init as init_colorama
34-
from envist import Envist
34+
from dotenv import load_dotenv
3535

3636
init_colorama(autoreset=True)
3737

38-
Envist() # loads .env variables
38+
load_dotenv() # loads .env variables
3939

4040
logging.basicConfig(
4141
format="%(asctime)s - %(levelname)s : %(message)s ", # [%(module)s,%(lineno)s]", # for debug purposes

0 commit comments

Comments
 (0)