From bf2eefc35d029f9d9174769716d2479ae00876f3 Mon Sep 17 00:00:00 2001 From: Dwight Lidman Date: Wed, 12 May 2021 19:09:28 +0200 Subject: 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 Change-Id: I942f339953d50a7bf5fc3e83c0736813fea58dd2 --- setup.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index b2c25ead..18c0bc7f 100644 --- a/setup.py +++ b/setup.py @@ -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", -- cgit v1.2.1