@@ -19,11 +19,24 @@ the code by leveraging modern hardware instructions and by utilizing all availab
1919
2020Intel SDC's documentation can be found `here <https://intelpython.github.io/sdc-doc/ >`_.
2121
22- Installing Binary Packages (conda)
22+ Installing Binary Packages (conda and wheel )
2323----------------------------------
24+ Intel SDC is available on the Anaconda Cloud intel/label/beta channel.
25+ Distribution includes Intel SDC for Python 3.6 and Python 3.7 for Windows and Linux platforms.
26+
27+ Intel SDC conda package can be installed using the steps below:
2428::
2529
26- Currently binary packages are not provided.
30+ > conda create -n sdc_env python=<3.7 or 3.6>
31+ > conda activate sdc_env
32+ > conda install sdc -c intel/label/beta -c intel -c defaults -c conda-forge --override-channels
33+
34+ Intel SDC wheel package can be installed using the steps below:
35+ ::
36+
37+ > conda create -n sdc_env python=<3.7 or 3.6> pip
38+ > conda activate sdc_env
39+ > pip install --index-url https://pypi.anaconda.org/intel/label/beta/simple --extra-index-url https://pypi.anaconda.org/intel/simple --extra-index-url https://pypi.org/simple sdc
2740
2841
2942Building Intel® SDC from Source on Linux
@@ -39,8 +52,8 @@ If you do not have conda, we recommend using Miniconda3::
3952 ./miniconda.sh -b
4053 export PATH=$HOME/miniconda3/bin:$PATH
4154
42- Intel SDC uses Numba ``0.48.0 `` tag (referred later as `` numba_commit ``) from master branch for build and run.
43- That is why it is required to build specified Numba first. Build steps are described below .
55+ Intel SDC uses special Numba build based on ``0.48.0 `` tag for build and run.
56+ Required Numba version can be installed from `` intel/label/beta `` channel from the Anaconda Cloud .
4457
4558It is possible to build Intel SDC via conda-build or setuptools. Follow one of the
4659cases below to install Intel SDC and its dependencies on Linux.
@@ -55,26 +68,16 @@ Building on Linux with conda-build
5568 source activate CBLD
5669 git clone https://github.com/IntelPython/sdc.git
5770 cd sdc
58- # Build Numba
59- conda build --python $PYVER --numpy $NUMPYVER --output-folder <path_to_sdc>/numba_build -c numba -c defaults -c intel --override-channels buildscripts/numba-conda-recipe/recipe
60- # Build Intel SDC
61- conda build --python $PYVER --numpy $NUMPYVER -c file://<path_to_sdc>/numba_build -c numba -c defaults -c conda-forge --override-channels buildscripts/sdc-conda-recipe
71+ conda build --python $PYVER --numpy $NUMPYVER --output-folder=<output_folder> -c intel/label/beta -c defaults -c intel -c conda-forge --override-channels buildscripts/sdc-conda-recipe
6272
6373Building on Linux with setuptools
6474~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6575::
6676
6777 PYVER=<3.6 or 3.7>
6878 NUMPYVER=<1.16 or 1.17>
69- conda create -n SDC -q -y -c numba -c defaults -c intel -c conda-forge python=$PYVER numpy=$NUMPYVER pandas=0.25.3 scipy pyarrow=0.15.1 gcc_linux-64 gxx_linux-64 tbb-devel llvmlite=0.31.0
79+ conda create -n SDC -q -y -c intel/label/beta -c defaults -c intel -c conda-forge python=$PYVER numpy=$NUMPYVER numba=0.48.0 pandas=0.25.3 scipy pyarrow=0.15.1 gcc_linux-64 gxx_linux-64
7080 source activate SDC
71- # Build Numba
72- git clone https://github.com/numba/numba.git
73- cd numba
74- git checkout numba_commit
75- python setup.py install
76- # build SDC
77- cd ..
7881 git clone https://github.com/IntelPython/sdc.git
7982 cd sdc
8083 python setup.py install
@@ -103,28 +106,18 @@ Building on Windows with conda-build
103106 conda activate CBLD
104107 git clone https://github.com/IntelPython/sdc.git
105108 cd sdc
106- # Build Numba
107- conda build --python %PYVER% --numpy %NUMPYVER% --output-folder <path_to_sdc>\numba_build -c numba -c defaults -c intel --override-channels buildscripts\numba-conda-recipe\recipe
108- # Build Intel SDC
109- conda build --python %PYVER% --numpy %NUMPYVER% -c <path_to_sdc>\numba_build -c numba -c defaults -c conda-forge --override-channels buildscripts\sdc-conda-recipe
109+ conda build --python %PYVER% --numpy %NUMPYVER% --output-folder=<output_folder> -c intel/label/beta -c defaults -c intel -c conda-forge --override-channels buildscripts\sdc-conda-recipe
110110
111111Building on Windows with setuptools
112112~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
113113::
114114
115115 set PYVER=<3.6 or 3.7>
116116 set NUMPYVER=<1.16 or 1.17>
117- conda create -n SDC -c numba -c defaults -c intel -c conda-forge python=%PYVER% numpy=%NUMPYVER% pandas=0.25.3 scipy pyarrow=0.15.1 tbb-devel llvmlite=0.31.0
117+ conda create -n SDC -c intel/label/beta -c defaults -c intel -c conda-forge python=%PYVER% numpy=%NUMPYVER% numba=0.48.0 pandas=0.25.3 scipy pyarrow=0.15.1
118118 conda activate SDC
119119 set INCLUDE=%INCLUDE%;%CONDA_PREFIX%\Library\include
120120 set LIB=%LIB%;%CONDA_PREFIX%\Library\lib
121- # Build Numba
122- git clone https://github.com/numba/numba.git
123- cd numba
124- git checkout numba_commit
125- python setup.py install
126- # Build Intel SDC
127- cd ..
128121 git clone https://github.com/IntelPython/sdc.git
129122 cd sdc
130123 python setup.py install
@@ -147,6 +140,12 @@ Building documentation
147140----------------------
148141Building Intel SDC User's Guide documentation requires pre-installed Intel SDC package along with compatible Pandas* version as well as Sphinx* 2.2.1 or later.
149142
143+ Intel SDC documentation includes Intel SDC examples output which is pasted to functions description in the API Reference.
144+ In order to get the correct examples result it is required to install ``scipy `` package before documentation build:
145+ ::
146+
147+ conda install scipy -c intel --override-channels
148+
150149Use ``pip `` to install Sphinx* and extensions:
151150::
152151
0 commit comments