File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,27 @@ extension. Commands on Fedora to install dependencies:
28
28
* Python 3: ``sudo dnf install python3-devel ``
29
29
* PyPy: ``sudo dnf install pypy-devel ``
30
30
31
+ Windows notes
32
+ -------------
33
+
34
+ On Windows, to allow pyperformance to build dependencies from source
35
+ like ``greenlet ``, ``dulwich `` or ``psutil ``, if you want to use a
36
+ ``python.exe `` built from source, you should not use the ``python.exe ``
37
+ directly. Instead, you must run the little-known command ``PC\layout ``
38
+ to create a filesystem layout that resembles an installed Python::
39
+
40
+ .\python.bat -m PC.layout --preset-default --copy installed -v
41
+
42
+ (Use the ``--help `` flag for more info about ``PC\layout ``.)
43
+
44
+ Now you can use the "installed" Python executable::
45
+
46
+ installed\python.exe -m pip install pyperformance
47
+ installed\python.exe -m pyperformance run ...
48
+
49
+ Using an *actually * installed Python executable (e.g. via ``py ``)
50
+ works fine too.
51
+
31
52
32
53
Run benchmarks
33
54
==============
You can’t perform that action at this time.
0 commit comments