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'],
      )