Skip to content

Commit

Permalink
A bit more art!
Browse files Browse the repository at this point in the history
  • Loading branch information
Liupold committed Mar 20, 2023
1 parent d528580 commit 125b40f
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 8 deletions.
18 changes: 12 additions & 6 deletions fmdpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,16 @@
'(KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36'
}

ART = r''' _| |_ | \ / | /\ ( _ ) || || |
/ \| v | / \ | | | || \| |/ |
( (| |) ) |\_/| | / /\ \ | | | | \_ _/
\_ _/| | | |/ /__\ \| | | | | |
|_| |_| |_/________\_| |_| |_|
'''
ART = fr'''
.o88o. .o8
888 `" "888
o888oo ooo. .oo. .oo. .oooo888 oo.ooooo. oooo ooo
888 `888P"Y88bP"Y88b d88' `888 888' `88b `88. .8'
888 888 888 888 888 888 888 888 `88..8'
888 888 888 888 888 888 888 888 `888'
o888o o888o o888o o888o `Y8bod88P" 888bod8P' .8'
888 .o..P'
o888o `Y8P ({VERSION})
'''

config = conf.load()
3 changes: 2 additions & 1 deletion fmdpy/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from tqdm import tqdm
from concurrent.futures import ThreadPoolExecutor
from threading import RLock as TRLock
from fmdpy import VERSION, install_requires, config, stream
from fmdpy import ART, VERSION, install_requires, config, stream

if (len(sys.argv) > 1) and (sys.argv[1] in {'-u', '--update'}):
subprocess.check_call([sys.executable, '-m', 'pip',
Expand Down Expand Up @@ -47,6 +47,7 @@ def version(ctx, _, value):
if not value:
return
else:
click.echo(ART)
click.echo(f"fmdpy: {VERSION} ({sys.executable})")
ctx.exit()

Expand Down
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
import setuptools
from fmdpy import VERSION, install_requires
from fmdpy import ART, VERSION, install_requires


with open("README.md", "r") as fh:
long_description = fh.read()

print("Setting up...")
print(ART)

setuptools.setup(
name="fmdpy",
version=VERSION,
Expand Down

0 comments on commit 125b40f

Please sign in to comment.