removing test/temp folder from package 49/6949/1
authortierno <alfonso.tiernosepulveda@telefonica.com>
Thu, 22 Nov 2018 15:30:13 +0000 (15:30 +0000)
committertierno <alfonso.tiernosepulveda@telefonica.com>
Thu, 22 Nov 2018 15:30:21 +0000 (15:30 +0000)
Change-Id: Ibd7491d3ed65606a39837184d3b209d593c838b1
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
setup.py

index 7d8a31d..cd7b5d4 100644 (file)
--- 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']),