From b53e08369e5c08bb3e0589c69ad87fa3b527128e Mon Sep 17 00:00:00 2001 From: Lingchao Xin Date: Tue, 17 Dec 2013 16:06:34 +0800 Subject: [PATCH] Fix no package data included in rpm packaging If no python-setuptools dependence, `python setup install` will use Distutils. MANIFEST.in tells Distutils what files to include in the source distribution but it does not directly affect what files are installed. We can continue using Distutils, and give parameter pakckage_data={} in setup method in setup.py; or we use python-setuptools and include_package_data=True parameter in it, we choose the latter since it is more flexible. Change-Id: I6dfb12cf7d0cf78a2fb0213a9812e4a33ce02b84 --- packaging/snapdiff.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/packaging/snapdiff.spec b/packaging/snapdiff.spec index 37c9b70..8d015c1 100644 --- a/packaging/snapdiff.spec +++ b/packaging/snapdiff.spec @@ -16,6 +16,7 @@ BuildRequires: python-devel BuildRequires: python-jinja2 BuildRequires: python-requests BuildRequires: python-xml +BuildRequires: python-setuptools Requires: python >= 2.7 Requires: python-jinja2 Requires: python-requests -- 2.34.1