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

Commit 7244371

Browse files
author
Matthias Koeppe
committed
Merge branch 't/29701/replace_use_of_module_list_optionalextension' into t/29950/build_sagelib_using_installed_sage_setup
2 parents 0473ef3 + d3c608b commit 7244371

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/sage_setup/find.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,11 @@ def find_python_sources(src_dir, modules=['sage'], distributions=None):
121121
122122
sage: timeit('find_python_sources(SAGE_SRC)', # random output
123123
....: number=1, repeat=1)
124-
1 loops, best of 1: 18.8 ms per loop
124+
1 loops, best of 1: 30 ms per loop
125+
126+
sage: timeit('find_python_sources(SAGE_SRC, distributions=[""])', # random output
127+
....: number=1, repeat=1)
128+
1 loops, best of 1: 850 ms per loop
125129
126130
sage: find_python_sources(SAGE_SRC, modules=['sage_setup'])
127131
(['sage_setup', ...], [...'sage_setup.find'...], [])

0 commit comments

Comments
 (0)