diff --git a/README.md b/README.md index 775c7d0..6d33e84 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,24 @@ Prebuilt `mkl_random` can be installed into conda environment from Intel's chann conda install -c intel mkl_random ``` +--- + +To install mkl_random Pypi package please use following command: + +``` + python -m pip install --i https://pypi.anaconda.org/intel/simple -extra-index-url https://pypi.org/simple mkl_random +``` + +If command above installs NumPy package from the Pypi, please use following command to install Intel optimized NumPy wheel package from Anaconda Cloud: + +``` + python -m pip install --i https://pypi.anaconda.org/intel/simple -extra-index-url https://pypi.org/simple mkl_random numpy== +``` + +Where `` should be the latest version from https://anaconda.org/intel/numpy + +--- + `mkl_random` is not fixed-seed backward compatible drop-in replacement for `numpy.random`, meaning that it implements sampling from the same distributions as `numpy.random`. For distributions directly supported in Intel (R) Math Kernel Library (MKL), `method` keyword is supported: diff --git a/conda-recipe/meta.yaml b/conda-recipe/meta.yaml index f44b9f5..88460c2 100644 --- a/conda-recipe/meta.yaml +++ b/conda-recipe/meta.yaml @@ -1,4 +1,4 @@ -{% set version = "1.2.0" %} +{% set version = "1.2.2" %} {% set buildnumber = 0 %} ### If you change the iccver here, you must also set the path correctly in build.sh / bld.bat!!! diff --git a/setup.py b/setup.py index 7d75c5f..996a3b6 100644 --- a/setup.py +++ b/setup.py @@ -34,6 +34,9 @@ with io.open('mkl_random/_version.py', 'rt', encoding='utf8') as f: version = re.search(r'__version__ = \'(.*?)\'', f.read()).group(1) +with open("README.md", "r", encoding="utf-8") as file: + long_description = file.read() + VERSION = version CLASSIFIERS = "" @@ -67,8 +70,9 @@ def setup_package(): name = 'mkl_random', maintainer = "Intel Corp.", maintainer_email = "scripting@intel.com", - description = "", - long_description = """""", + description = "NumPy-based Python interface to Intel (R) MKL Random Number Generation functionality", + long_description = long_description, + long_description_content_type="text/markdown", url = "http://github.com/IntelPython/mkl_random", author = "Intel Corporation", download_url = "http://github.com/IntelPython/mkl_random",