From 4f0dccc3248253b8cadd4fae90a7b8708cb83630 Mon Sep 17 00:00:00 2001 From: Hyeongseok Oh Date: Mon, 25 Nov 2024 16:52:40 +0900 Subject: [PATCH] [onert/python] Update setup parameters This commit updates setup parameters. - Update description: nnfw -> onert - Add URL - Add license - Add 'has_ext_modules': update wheel naming automatically for wheel installation - Add package dependency ONE-DCO-1.0-Signed-off-by: Hyeongseok Oh --- infra/nnfw/python/setup.py | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/infra/nnfw/python/setup.py b/infra/nnfw/python/setup.py index a7bd6fa9e9c..d140e17e2cb 100644 --- a/infra/nnfw/python/setup.py +++ b/infra/nnfw/python/setup.py @@ -135,11 +135,13 @@ def get_directories(): # copy .so files to architecture directories -setup( - name=package_name, - version='0.1.0', - description='nnfw_api binding', - long_description='It provides nnfw Python api', - packages=[package_directory], - package_data={package_directory: so_list}, -) +setup(name=package_name, + version='0.1.0', + description='onert API binding', + long_description='It provides onert Python api', + url='https://github.com/Samsung/ONE', + license='Apache-2.0, MIT, BSD-2-Clause, BSD-3-Clause, Mozilla Public License 2.0', + has_ext_modules=lambda: True, + packages=[package_directory], + package_data={package_directory: so_list}, + install_requires=['numpy >= 1.19'])