Migrating from the classic setup.py to a using PyProject approach.

This commit is contained in:
unclecode
2024-11-29 14:45:04 +08:00
parent c0e87abaee
commit 449dd7cc0b
9 changed files with 229 additions and 205 deletions

9
plugin.py Normal file
View File

@@ -0,0 +1,9 @@
from colorama import Fore, Style
import subprocess
import sys
def post_install():
print(f"\n{Fore.YELLOW}{'='*40}")
print(f"{Fore.RED}IMPORTANT: Run this command now:")
print(f"{Fore.GREEN}python -m playwright install")
print(f"{Fore.YELLOW}{'='*40}{Style.RESET_ALL}\n")