diff options
| author | Giampaolo Rodola <g.rodola@gmail.com> | 2019-09-18 09:59:32 +0200 |
|---|---|---|
| committer | Giampaolo Rodola <g.rodola@gmail.com> | 2019-09-18 09:59:32 +0200 |
| commit | 55301bddea77bd8fa2415586af93b7d8c3d5bdd1 (patch) | |
| tree | a036cf9fa35aa5a3095f63592b31090439ebf970 /scripts | |
| parent | a4728384564724b071afeb7d4c140ad9356c45fe (diff) | |
| download | psutil-55301bddea77bd8fa2415586af93b7d8c3d5bdd1.tar.gz | |
fix #1578: 'perf' lib was renamed to 'pyperf'
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/internal/bench_oneshot_2.py | 4 | ||||
| -rwxr-xr-x | scripts/internal/winmake.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/scripts/internal/bench_oneshot_2.py b/scripts/internal/bench_oneshot_2.py index a25d1806..becf930c 100644 --- a/scripts/internal/bench_oneshot_2.py +++ b/scripts/internal/bench_oneshot_2.py @@ -11,7 +11,7 @@ supposed to be more precise. import sys -import perf # requires "pip install perf" +import pyperf # requires "pip install pyperf" import psutil from bench_oneshot import names @@ -37,7 +37,7 @@ def add_cmdline_args(cmd, args): def main(): - runner = perf.Runner() + runner = pyperf.Runner() args = runner.parse_args() if not args.worker: diff --git a/scripts/internal/winmake.py b/scripts/internal/winmake.py index 75b4c348..116809ca 100755 --- a/scripts/internal/winmake.py +++ b/scripts/internal/winmake.py @@ -39,8 +39,8 @@ DEPS = [ "flake8", "nose", "pdbpp", - "perf", "pip", + "pyperf", "pypiwin32==219" if sys.version_info[:2] <= (3, 4) else "pypiwin32", "pyreadline", "setuptools", |
