do not package docu/tests into pyi2ncommon (get installed into /usr)
authorChristian Herdtweck <christian.herdtweck@intra2net.com>
Fri, 15 Jan 2016 10:26:50 +0000 (11:26 +0100)
committerChristian Herdtweck <christian.herdtweck@intra2net.com>
Fri, 15 Jan 2016 10:26:50 +0000 (11:26 +0100)
setup.py

index 1acf1a3..1a190cc 100644 (file)
--- 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'],
      )