Skip to content

Commit

Permalink
[onert/python] Update setup parameters (#14362)
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
hseok-oh authored Nov 26, 2024
1 parent a38af9f commit 845e26f
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions infra/nnfw/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'])

0 comments on commit 845e26f

Please sign in to comment.