You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: python/README.md
+2-3Lines changed: 2 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ For more information and examples, please refer to [forum discussion](https://co
20
20
-**tbb** - The folder contains Python module sources.
21
21
22
22
## Files
23
-
-**setup.py** - Standard Python setup script.
23
+
-**setup.py** - Standard Python setuptools script. Calling it directly is deprecated since setuptools version 58.3.0.
24
24
-**TBB.py** - Alternative entry point for Python module.
25
25
26
26
## CMake predefined targets
@@ -33,8 +33,7 @@ For more information and examples, please refer to [forum discussion](https://co
33
33
-`pydoc tbb` - Read built-in documentation for Python interfaces.
34
34
-`python3 -m tbb your_script.py` - Run your_script.py in context of `with tbb.Monkey():` when oneTBB is enabled. By default only multi-threading will be covered.
35
35
-`python3 -m tbb --ipc your_script.py` - Run your_script.py in context of `with tbb.Monkey():` when oneTBB enabled in both multi-threading and multi-processing modes.
36
-
-`python3 setup.py build -b<output_directory_path> -f check` - Build oneTBB module for Python. (Prerequisites: built and sourced oneTBB and IRML libraries)
37
-
-`python3 setup.py build -b<output_directory_path> build_ext -I<path_to_tbb_includes> -L<path_to_prebuilt_libraries> install -f <additional_flags> ` - Build and install oneTBB module for Python. (Prerequisites: built oneTBB and IRML libraries)
36
+
-`TBB_INCLUDEDIRS=<path_to_tbb_includes> TBB_LIBDIRS=<path_to_prebuilt_libraries> python3 -m pip install --no-build-isolation --prefix <output_directory_path>` - Build and install oneTBB module for Python. (Prerequisites: built oneTBB and IRML libraries)
38
37
-`python3 -m TBB test` - run test for oneTBB module for Python.
39
38
-`python3 -m tbb test` - run test for oneTBB module for Python.
0 commit comments