Skip to content

Commit

Permalink
colorama auto install
Browse files Browse the repository at this point in the history
  • Loading branch information
Okm165 committed May 3, 2024
1 parent 3b51484 commit e129c13
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ To set up the project environment and run the bootloader, follow these steps:
git submodule update --init
```

1. **Setup Python Environment**: Ensure you have a Python 3.9.0 environment set up & `pip install colorama` for pretty outputs.
1. **Setup Python Environment**: Ensure you have a Python 3.9.0 environment set up.

2. **Installation**: Run `python install.py` to install the necessary dependencies and set up the project.

Expand Down
5 changes: 2 additions & 3 deletions install.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import subprocess
from colorama import Fore, Style


def log_and_run(commands, description, cwd=None):
from colorama import Fore, Style
full_command = " && ".join(commands)
try:
print(f"{Fore.YELLOW}Starting: {description}...{Style.RESET_ALL}")
Expand All @@ -21,7 +20,7 @@ def log_and_run(commands, description, cwd=None):
log_and_run(
[
"pip install cairo-lang==0.13.1",
"pip install aiofiles",
"pip install aiofiles colorama",
"pip install cairo0-bootloader/",
],
"Installing cairo-lang",
Expand Down

0 comments on commit e129c13

Please sign in to comment.