From 65f7a996b3e75c918ca2224d2d444d930639250b Mon Sep 17 00:00:00 2001 From: Smirnov Date: Fri, 2 Jul 2021 17:51:39 +0300 Subject: [PATCH] Update description for wheel package --- README.md | 16 ++++++++++++++++ conda-recipe/meta.yaml | 2 +- setup.py | 8 ++++++-- 3 files changed, 23 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 06d9076..122e79e 100644 --- a/README.md +++ b/README.md @@ -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== +``` + +Where `` 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. diff --git a/conda-recipe/meta.yaml b/conda-recipe/meta.yaml index ee35507..a6e49d7 100644 --- a/conda-recipe/meta.yaml +++ b/conda-recipe/meta.yaml @@ -1,5 +1,5 @@ {% set version = "1.3.0" %} -{% set buildnumber = 0 %} +{% set buildnumber = 1 %} package: name: mkl_fft diff --git a/setup.py b/setup.py index 032a299..d9bdb9b 100644 --- a/setup.py +++ b/setup.py @@ -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 = """\ @@ -77,7 +80,8 @@ 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", @@ -85,7 +89,7 @@ def setup_package(): 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 )