diff options
author | Dwight Lidman <dwight.lidman@arm.com> | 2021-05-12 19:09:28 +0200 |
---|---|---|
committer | Dwight Lidman <dwight.lidman@arm.com> | 2021-05-18 13:57:03 +0200 |
commit | bf2eefc35d029f9d9174769716d2479ae00876f3 (patch) | |
tree | a9bdf9b75e9b9c01bec315449e30083cd0dd9fc2 | |
parent | 06329fc1c4c802ed203cb32cc6eda30871577bfb (diff) | |
download | ethos-u-vela-bf2eefc35d029f9d9174769716d2479ae00876f3.tar.gz |
MLBEDSW-4417: Explicitly set packages in setup.py
This commit removes usage of the function
find_namespace_packages (which is not available in
older versions of setuptools) and instead explicitly
states the namespace packages in setup.py.
Signed-off-by: Dwight Lidman <dwight.lidman@arm.com>
Change-Id: I942f339953d50a7bf5fc3e83c0736813fea58dd2
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | setup.py | 5 |
2 files changed, 2 insertions, 4 deletions
@@ -81,7 +81,6 @@ Once you have the source code, Vela can be installed using the following command: ```bash -pip3 install -U setuptools>=40.1.0 pip3 install . ``` @@ -19,7 +19,6 @@ import os import re from setuptools import Extension -from setuptools import find_namespace_packages from setuptools import setup from setuptools.command.build_ext import build_ext @@ -83,8 +82,8 @@ setup( "Topic :: Software Development :: Compilers", ], keywords=["ethos-u", "vela compiler", "tflite", "npu"], - packages=find_namespace_packages(include=["ethosu.*"]), - python_requires="~=3.6", # We only test for 3.6.* + packages=["ethosu.vela", "ethosu.mlw_codec"], + python_requires="~=3.6", # We support only 3.6+ install_requires=[ "flatbuffers==1.12.0", "numpy>=1.16.6", |