@@ -90,7 +90,7 @@ feature, code or documentation improvement).
90
90
91
91
.. prompt :: bash $
92
92
93
- pip install --verbose --no-use-pep517 --no-build-isolation --editable .
93
+ pip install -v --no-use-pep517 --no-build-isolation -e .
94
94
95
95
#. Check that the installed scikit-learn has a version number ending with
96
96
`.dev0 `:
@@ -109,7 +109,9 @@ feature, code or documentation improvement).
109
109
(ending in `.pyx ` or `.pxd `). This can happen when you edit them or when you
110
110
use certain git commands such as `git pull `. Use the ``--no-build-isolation `` flag
111
111
to avoid compiling the whole project each time, only the files you have
112
- modified.
112
+ modified. Include the ``--no-use-pep517 `` flag because the ``--no-build-isolation ``
113
+ option might not work otherwise (this is due to a bug which will be fixed in the
114
+ future).
113
115
114
116
Dependencies
115
117
------------
@@ -242,7 +244,7 @@ Finally, build scikit-learn from this command prompt:
242
244
243
245
.. prompt :: bash $
244
246
245
- pip install --verbose --no-use-pep517 --no-build-isolation --editable .
247
+ pip install -v --no-use-pep517 --no-build-isolation -e .
246
248
247
249
.. _compiler_macos :
248
250
@@ -284,7 +286,7 @@ scikit-learn from source:
284
286
joblib threadpoolctl pytest compilers llvm-openmp
285
287
conda activate sklearn-dev
286
288
make clean
287
- pip install --verbose --no-use-pep517 --no-build-isolation --editable .
289
+ pip install -v --no-use-pep517 --no-build-isolation -e .
288
290
289
291
.. note ::
290
292
@@ -364,7 +366,7 @@ Finally, build scikit-learn in verbose mode (to check for the presence of the
364
366
.. prompt :: bash $
365
367
366
368
make clean
367
- pip install --verbose --no-use-pep517 --no-build-isolation --editable .
369
+ pip install -v --no-use-pep517 --no-build-isolation -e .
368
370
369
371
.. _compiler_linux :
370
372
@@ -424,7 +426,7 @@ in the user folder using conda:
424
426
conda create -n sklearn-dev -c conda-forge python numpy scipy cython \
425
427
joblib threadpoolctl pytest compilers
426
428
conda activate sklearn-dev
427
- pip install --verbose --no-use-pep517 --no-build-isolation --editable .
429
+ pip install -v --no-use-pep517 --no-build-isolation -e .
428
430
429
431
.. _compiler_freebsd :
430
432
@@ -453,7 +455,7 @@ Finally, build the package using the standard command:
453
455
454
456
.. prompt :: bash $
455
457
456
- pip install --verbose --no-use-pep517 --no-build-isolation --editable .
458
+ pip install -v --no-use-pep517 --no-build-isolation -e .
457
459
458
460
For the upcoming FreeBSD 12.1 and 11.3 versions, OpenMP will be included in
459
461
the base system and these steps will not be necessary.
@@ -514,7 +516,7 @@ and environment variable as follows before calling the ``pip install`` or
514
516
``python setup.py build_ext `` commands::
515
517
516
518
export SKLEARN_BUILD_PARALLEL=3
517
- pip install --verbose --no-use-pep517 --no-build-isolation --editable .
519
+ pip install -v --no-use-pep517 --no-build-isolation -e .
518
520
519
521
On a machine with 2 CPU cores, it can be beneficial to use a parallelism level
520
522
of 3 to overlap IO bound tasks (reading and writing files on disk) with CPU
0 commit comments