From 7245bff5a2870f8ea8730ef869098aff83648863 Mon Sep 17 00:00:00 2001 From: "Scherbakov, Denis" Date: Fri, 30 Jun 2023 03:50:13 -0500 Subject: [PATCH 1/2] Add metadata into setup.py for gold --- setup.py | 35 ++++++++++++++++++++++++++++++++--- 1 file changed, 32 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index df994b9aa7a..822604d9c25 100644 --- a/setup.py +++ b/setup.py @@ -12,13 +12,42 @@ ).load_module() __version__ = version_mod.__version__ +""" +Set project auxilary data like readme and licence files +""" +with open("README.md") as f: + __readme_file__ = f.read() + +CLASSIFIERS = """\ +Development Status :: 4 - Beta +Intended Audience :: Science/Research +Intended Audience :: Developers +License :: OSI Approved :: Apache Software License +Programming Language :: C++ +Programming Language :: Cython +Programming Language :: Python +Programming Language :: Python :: 3 +Programming Language :: Python :: 3.8 +Programming Language :: Python :: 3.9 +Programming Language :: Python :: 3.10 +Programming Language :: Python :: Implementation :: CPython +Topic :: Software Development +Topic :: Scientific/Engineering +Operating System :: Microsoft :: Windows +Operating System :: POSIX +Operating System :: Unix +""" + setup( name="dpnp", version=__version__, - description="", - long_description="", + description="Data Parallel Extension for NumPy", + long_description=__readme_file__, long_description_content_type="text/markdown", license="Apache 2.0", + classifiers=[_f for _f in CLASSIFIERS.split("\n") if _f], + keywords="sycl numpy python3 intel mkl oneapi gpu dpcpp", + platforms=["Linux", "Windows"], author="Intel Corporation", url="https://github.com/IntelPython/dpnp", packages=[ @@ -37,4 +66,4 @@ ] }, include_package_data=True, -) +) \ No newline at end of file From a05b919531aece82ca0ef454762ead6c13d0b186 Mon Sep 17 00:00:00 2001 From: "Scherbakov, Denis" Date: Fri, 30 Jun 2023 05:13:42 -0500 Subject: [PATCH 2/2] fix precommit check --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 822604d9c25..9b56902f359 100644 --- a/setup.py +++ b/setup.py @@ -66,4 +66,4 @@ ] }, include_package_data=True, -) \ No newline at end of file +)