Skip to content

Commit

Permalink
Merge pull request #61 from IntelPython/upd_wheel_description
Browse files Browse the repository at this point in the history
  • Loading branch information
oleksandr-pavlyk authored Jul 2, 2021
2 parents 796fd43 + 65f7a99 commit f7b2c68
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 3 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,22 @@ as a stand-alone package. It can be installed into conda environment using

---

To install mkl_fft 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_fft
```

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_fft numpy==<numpy_version>
```

Where `<numpy_version>` should be the latest version from https://anaconda.org/intel/numpy

---

Since MKL FFT supports performing discrete Fourier transforms over non-contiguously laid out arrays, MKL can be directly
used on any well-behaved floating point array with no internal overlaps for both in-place and not in-place transforms of
arrays in single and double floating point precision.
Expand Down
2 changes: 1 addition & 1 deletion conda-recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% set version = "1.3.0" %}
{% set buildnumber = 0 %}
{% set buildnumber = 1 %}

package:
name: mkl_fft
Expand Down
8 changes: 6 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@
with io.open('mkl_fft/_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 @@ -77,15 +80,16 @@ def setup_package():
maintainer = "Intel Corp.",
maintainer_email = "scripting@intel.com",
description = "MKL-based FFT transforms for NumPy arrays",
long_description = """NumPy-based implementation of Fast Fourier Transform using Intel (R) Math Kernel Library. 1D and ND, complex and real transforms, in-place and not-in-place on single and double precision arrays""",
long_description = long_description,
long_description_content_type="text/markdown",
url = "http://github.com/IntelPython/mkl_fft",
author = "Intel Corporation",
download_url = "http://github.com/IntelPython/mkl_fft",
license = 'BSD',
classifiers = [_f for _f in CLASSIFIERS.split('\n') if _f],
platforms = ["Windows", "Linux", "Mac OS-X"],
test_suite = 'nose.collector',
python_requires = '>=3.5',
python_requires = '>=3.6',
install_requires = ['numpy >=1.16'],
configuration = configuration
)
Expand Down

0 comments on commit f7b2c68

Please sign in to comment.