Skip to content

Update description for wheel package #21

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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==<numpy_version>
```

Where `<numpy_version>` 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:
Expand Down
2 changes: 1 addition & 1 deletion conda-recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -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!!!
Expand Down
8 changes: 6 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ""
Expand Down Expand Up @@ -67,8 +70,9 @@ def setup_package():
name = 'mkl_random',
maintainer = "Intel Corp.",
maintainer_email = "[email protected]",
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",
Expand Down