From 20b64375558d64093b8befc22b2608822a50960a Mon Sep 17 00:00:00 2001 From: Christian Herdtweck Date: Fri, 15 Jan 2016 11:26:50 +0100 Subject: [PATCH] do not package docu/tests into pyi2ncommon (get installed into /usr) --- setup.py | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index 1acf1a3..1a190cc 100644 --- a/setup.py +++ b/setup.py @@ -10,8 +10,12 @@ setup(name='pyi2ncommon', url='http://www.intra2net.com', packages=[''], package_dir={'': 'src'}, - data_files=['check.sh', - 'test/disc_filler_test.py', 'test/template.py', - 'doc/index.rst', 'doc/modules.rst', 'doc/conf.py', - 'doc/about_docu.rst'], + # these files go into the srpm but not the rpm when building them using + # setup.py bdist_rpm + # however, when using build_and_install, they get installed, so leave + # them out (developers have source tree from git anyway) + #data_files=['check.sh', + # 'test/disc_filler_test.py', 'test/template.py', + # 'doc/index.rst', 'doc/modules.rst', 'doc/conf.py', + # 'doc/about_docu.rst'], ) -- 1.7.1