Skip to content

Commit 8499063

Browse files
committed
Remove some debug prints
1 parent 07e9ae8 commit 8499063

2 files changed

Lines changed: 2 additions & 11 deletions

File tree

syrup/__main__.py

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -59,20 +59,13 @@ def validate_version(ctx, param, value):
5959
@click.pass_context
6060
def build(ctx, do_clean, version, name, company, description, license, icon, build_dir, artifact_dir, src_dir, clean_artifacts, help_url, update_url, website_url, executable):
6161
click.echo("Building {} v{}...".format(name, version))
62-
click.echo(company)
63-
click.echo(description)
64-
click.echo(license)
65-
click.echo(icon)
66-
click.echo(build_dir)
67-
click.echo(artifact_dir)
68-
click.echo(src_dir)
69-
click.echo(repr(executable))
7062
if do_clean:
7163
ctx.forward(clean)
7264

7365
os.makedirs(build_dir, exist_ok=True)
7466

75-
print(copySrc(src_dir=src_dir, build_dir=build_dir))
67+
copySrc(src_dir=src_dir, build_dir=build_dir)
68+
7669
if icon:
7770
icon = makeIco(icon=icon, name=name, build_dir=build_dir)
7871

syrup/functions.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ def findTool(exe, name=None):
6868
SEARCHPATH.append(os.path.join(ds, p))
6969

7070
for path in SEARCHPATH:
71-
print(path)
7271
for ext in EXTENSIONS:
7372
fp = os.path.join(path, exe + ext)
7473
if os.path.exists(fp):
@@ -110,7 +109,6 @@ def parse_checksum_file(content):
110109
return result
111110

112111
def cmd(args, stdout=subprocess.PIPE, stderr=subprocess.DEVNULL, encoding=None):
113-
#print(args)
114112
p = subprocess.Popen(args, stdout=stdout, stderr=stderr)
115113
if p.stdout is not None:
116114
if encoding is not None:

0 commit comments

Comments
 (0)