From: Christian Herdtweck Date: Fri, 15 Jan 2016 10:26:50 +0000 (+0100) Subject: do not package docu/tests into pyi2ncommon (get installed into /usr) X-Git-Tag: v1.2~50 X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=20b64375558d64093b8befc22b2608822a50960a;p=pyi2ncommon do not package docu/tests into pyi2ncommon (get installed into /usr) --- 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'], )