Skip to content

Commit cfac723

Browse files
Add metadata to setup.py (#1460)
* Add metadata to setup.py * Set development status to beta * Apply comments * FIx precommit cheks * fix one more precommit check --------- Co-authored-by: Anton <100830759+antonwolfy@users.noreply.github.com>
1 parent 10a656d commit cfac723

File tree

1 file changed

+31
-2
lines changed

1 file changed

+31
-2
lines changed

setup.py

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,42 @@
1212
).load_module()
1313
__version__ = version_mod.__version__
1414

15+
"""
16+
Set project auxilary data like readme and licence files
17+
"""
18+
with open("README.md") as f:
19+
__readme_file__ = f.read()
20+
21+
CLASSIFIERS = """\
22+
Development Status :: 4 - Beta
23+
Intended Audience :: Science/Research
24+
Intended Audience :: Developers
25+
License :: OSI Approved :: Apache Software License
26+
Programming Language :: C++
27+
Programming Language :: Cython
28+
Programming Language :: Python
29+
Programming Language :: Python :: 3
30+
Programming Language :: Python :: 3.8
31+
Programming Language :: Python :: 3.9
32+
Programming Language :: Python :: 3.10
33+
Programming Language :: Python :: Implementation :: CPython
34+
Topic :: Software Development
35+
Topic :: Scientific/Engineering
36+
Operating System :: Microsoft :: Windows
37+
Operating System :: POSIX
38+
Operating System :: Unix
39+
"""
40+
1541
setup(
1642
name="dpnp",
1743
version=__version__,
18-
description="",
19-
long_description="",
44+
description="Data Parallel Extension for NumPy",
45+
long_description=__readme_file__,
2046
long_description_content_type="text/markdown",
2147
license="Apache 2.0",
48+
classifiers=[_f for _f in CLASSIFIERS.split("\n") if _f],
49+
keywords="sycl numpy python3 intel mkl oneapi gpu dpcpp",
50+
platforms=["Linux", "Windows"],
2251
author="Intel Corporation",
2352
url="https://github.com/IntelPython/dpnp",
2453
packages=[

0 commit comments

Comments
 (0)