-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
48 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import sys | ||
|
||
from colorama import Fore, Style | ||
|
||
|
||
def display_startup_art(commit_to_git): | ||
sys.stdout.write( | ||
f"""{Style.BRIGHT}{Fore.GREEN} | ||
_____ _____ _____ | ||
| __ \_ _| __ \ | ||
| | | || | | |__) | | ||
| | | || | | _ / | ||
| |__| || |_| | \ \ | ||
|_____/_____|_|_ \_\__ _____ _____ _______ _ _ _______ | ||
/\ / ____/ ____|_ _|/ ____|__ __|/\ | \ | |__ __| | ||
/ \ | (___| (___ | | | (___ | | / \ | \| | | | | ||
/ /\ \ \___ \\\___ \ | | \___ \ | | / /\ \ | . ` | | | | ||
/ ____ \ ____) |___) |_| |_ ____) | | |/ ____ \| |\ | | | | ||
/_/ \_\_____/_____/|_____|_____/ |_/_/ \_\_| \_| |_| | ||
{Style.RESET_ALL}\n\n""" | ||
) | ||
sys.stdout.write( | ||
f"{Style.BRIGHT}{Fore.BLUE}Type 'exit' to quit the conversation.\n" | ||
) | ||
if commit_to_git: | ||
sys.stdout.write( | ||
f"{Style.BRIGHT}{Fore.BLUE}Type 'undo' to roll back the last commit.\n" | ||
) | ||
sys.stdout.write("\n") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
#!/bin/sh | ||
|
||
# Ensure you first make .pypirc with appropriate tokens | ||
#[pypi] | ||
# username = __token__ | ||
# password = | ||
# | ||
#[testpypi] | ||
# username = __token__ | ||
# password = | ||
|
||
rm dist/* | ||
pip install build twine | ||
python -m build | ||
python -m twine upload dist/* | ||
|
||
# Ubuntu 22.04 | ||
#pip install build twine | ||
#python -m build | ||
#python -m twine upload dist/* | ||
|
||
# Ubuntu 24.04 | ||
pip install pipx | ||
pipx install build | ||
pipx run build | ||
pipx install twine | ||
pipx run twine upload dist/* |