From 02a04c1124a4ba30e9fc07e204a995ff3d377bbf Mon Sep 17 00:00:00 2001 From: tierno Date: Thu, 22 Nov 2018 15:30:13 +0000 Subject: [PATCH] removing test/temp folder from package Change-Id: Ibd7491d3ed65606a39837184d3b209d593c838b1 Signed-off-by: tierno --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 7d8a31d..cd7b5d4 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ # limitations under the License. import os -from setuptools import setup +from setuptools import setup, find_packages _name = "osm_nbi" # version is at first line of osm_nbi/html_public/version @@ -41,7 +41,7 @@ setup( url='https://osm.etsi.org/gitweb/?p=osm/NBI.git;a=summary', license='Apache 2.0', - packages=[_name], + packages=find_packages(exclude=["temp", "local"]), include_package_data=True, # exclude_package_data={'': ['osm_nbi/local', 'temp']}, # data_files=[('/etc/osm/', ['osm_nbi/nbi.cfg']), -- 2.25.1