Skip to content
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

Add metadata to setup.py #1460

Merged
merged 8 commits into from
Jul 13, 2023
Merged
33 changes: 31 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
DenisScherbakov marked this conversation as resolved.
Show resolved Hide resolved
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=[
Expand Down