Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Merge branch 't/29701/replace_use_of_module_list_optionalextension' i…
Browse files Browse the repository at this point in the history
…nto t/29950/build_sagelib_using_installed_sage_setup
  • Loading branch information
mkoeppe committed Jul 4, 2020
2 parents 0473ef3 + d3c608b commit 7244371
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/sage_setup/find.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,11 @@ def find_python_sources(src_dir, modules=['sage'], distributions=None):
sage: timeit('find_python_sources(SAGE_SRC)', # random output
....: number=1, repeat=1)
1 loops, best of 1: 18.8 ms per loop
1 loops, best of 1: 30 ms per loop
sage: timeit('find_python_sources(SAGE_SRC, distributions=[""])', # random output
....: number=1, repeat=1)
1 loops, best of 1: 850 ms per loop
sage: find_python_sources(SAGE_SRC, modules=['sage_setup'])
(['sage_setup', ...], [...'sage_setup.find'...], [])
Expand Down

0 comments on commit 7244371

Please sign in to comment.