Skip to content

Commit

Permalink
v1.1.2
Browse files Browse the repository at this point in the history
Moves BANNER from messages.py to host_project_vars.py
  • Loading branch information
joaomcteixeira authored Dec 27, 2018
2 parents e561523 + ad5e677 commit fbe1e14
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 18 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Tree-of-Life

_version: 1.1.1_
_version: 1.1.2_

**Tree-of-Life** is a _Python-written_ and _stand-alone_ **library** that installs the Python dependencies and configures the _executable files_ for Python-based and **user-oriented** projects, and keeps them updated.

Expand Down
17 changes: 17 additions & 0 deletions install/host_project_vars.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,20 @@

# folders to remove during the update
folders_to_remove = ["install", ".github"]

# http://patorjk.com/software/taag/#p=display&h=1&f=Sweet&t=Tree%20of%20Life
banner = r"""
___ .-. ___ .-.
( ) / \ ( ) .-. / \
| |_ ___ .-. .--. .--. .--. | .`. ; | | ( __) | .`. ; .--.
( __) ( ) \ / \ / \ / \ | |(___) | | (''") | |(___)/ \
| | | ' .-. ; | .-. ;| .-. ; | .-. ; | |_ | | | | | |_ | .-. ;
| | ___ | / (___)| | | || | | | | | | |( __) | | | | ( __) | | | |
| |( )| | | |/ || |/ | | | | | | | | | | | | | | |/ |
| | | | | | | ' _.'| ' _.' | | | | | | | | | | | | | ' _.'
| ' | | | | | .'.-.| .'.-. | ' | | | | | | | | | | | .'.-.
' `-' ; | | ' `-' /' `-' / ' `-' / | | | | | | | | ' `-' /
`.__. (___) `.__.' `.__.' `.__.' (___) (___)(___)(___) `.__.'
"""
16 changes: 0 additions & 16 deletions install/messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,22 +302,6 @@ def _formats_short_title(s):

terminate = "Press ENTER to TERMINATE"

# http://patorjk.com/software/taag/#p=display&h=1&f=Sweet&t=Tree%20of%20Life
banner = r"""
___ .-. ___ .-.
( ) / \ ( ) .-. / \
| |_ ___ .-. .--. .--. .--. | .`. ; | | ( __) | .`. ; .--.
( __) ( ) \ / \ / \ / \ | |(___) | | (''") | |(___)/ \
| | | ' .-. ; | .-. ;| .-. ; | .-. ; | |_ | | | | | |_ | .-. ;
| | ___ | / (___)| | | || | | | | | | |( __) | | | | ( __) | | | |
| |( )| | | |/ || |/ | | | | | | | | | | | | | | |/ |
| | | | | | | ' _.'| ' _.' | | | | | | | | | | | | | ' _.'
| ' | | | | | .'.-.| .'.-. | ' | | | | | | | | | | | .'.-.
' `-' ; | | ' `-' /' `-' / ' `-' / | | | | | | | | ' `-' /
`.__. (___) `.__.' `.__.' `.__.' (___) (___)(___)(___) `.__.'
"""

if __name__ == "__main__":
print(query)
Expand Down
2 changes: 1 addition & 1 deletion tree_of_life.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
# STARTS INSTALLATION
log.debug("{} installation initiated".format(host_project_vars.software_name))
log.debug("<installation_folder>: {}".format(system.installation_folder))
log.info(messages.banner)
log.info(host_project_vars.banner)
log.info(messages.start_install)
time.sleep(0.5)

Expand Down

0 comments on commit fbe1e14

Please sign in to comment.