Skip to content

Commit c7de42f

Browse files
committed
Make install_setup False by default, since some benchmarks confuse pip as-is
1 parent d202130 commit c7de42f

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

doc/custom_benchmarks.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,6 @@ tool.install_setup bool
343343
* tags: optional list of names to group benchmarks
344344
* extra_opts: optional list of args to pass to ``tool.runscript``
345345
* runscript: the benchmark script to use instead of run_benchmark.py.
346-
* install_setup: when ``true`` (default), run ``pip install -e .`` in the
346+
* install_setup: when ``true``, run ``pip install -e .`` in the
347347
benchmark directory to install it in the virtual environment. This has the
348348
effect of running a ``setup.py`` file, if present.

pyperformance/_benchmark.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def extra_opts(self):
166166

167167
@property
168168
def install_setup(self):
169-
return self._get_metadata_value('install_setup', True)
169+
return self._get_metadata_value('install_setup', False)
170170

171171
# Other metadata keys:
172172
# * base

pyperformance/data-files/benchmarks/bm_ctypes/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ dynamic = ["version"]
88
[tool.pyperformance]
99
name = "ctypes"
1010
tags = "extension"
11+
install_setup = true

0 commit comments

Comments
 (0)