Skip to content

Commit

Permalink
remove entry from pyinstaller and unneeded progress.update call
Browse files Browse the repository at this point in the history
  • Loading branch information
fariss committed Sep 24, 2024
1 parent 461a701 commit 5cb93bf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions .github/pyinstaller/pyinstaller.spec
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,6 @@ a = Analysis(
"tkinter",
"_tkinter",
"Tkinter",
# tqdm provides renderers for ipython,
# however, this drags in a lot of dependencies.
# since we don't spawn a notebook, we can safely remove these.
"IPython",
"ipywidgets",
# these are pulled in by networkx
# but we don't need to compute the strongly connected components.
"numpy",
Expand Down
2 changes: 1 addition & 1 deletion scripts/profile-time.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def main(argv=None):
def do_iteration():
capa.perf.reset()
capa.capabilities.common.find_capabilities(rules, extractor, disable_progress=True)
progress.update(task)

progress.advance(task)

samples = timeit.repeat(do_iteration, number=args.number, repeat=args.repeat)
Expand Down

0 comments on commit 5cb93bf

Please sign in to comment.