Author: Michael R. Crusoe <michael.crusoe@gmail.com>
Description: rename the scripts to follow policy
--- python-pybedtools.orig/setup.py
+++ python-pybedtools/setup.py
@@ -368,13 +368,15 @@
                                      "*.c",
                                      "*.cpp"]
                       },
+        entry_points={'console_scripts': [
+            'pybedtools-venn_gchart = pybedtools.scripts.venn_gchart:main',
+            'pybedtools-venn_mpl = pybedtools.scripts.venn_mpl:main',
+            'pybedtools-annotate = pybedtools.scripts.annotate:main',
+            'pybedtools-peak_pie = pybedtools.scripts.peak_pie:main',
+            'pybedtools-intersection_matrix = '
+                'pybedtools.scripts.intersection_matrix:main',
+            'pybedtools-intron_exon_reads = '
+                'pybedtools.scripts.intron_exon_reads:main'
+            ]},
         include_package_data=True,
-        scripts=['pybedtools/scripts/venn_gchart.py',
-                 'pybedtools/scripts/venn_mpl.py',
-                 'pybedtools/scripts/annotate.py',
-                 'pybedtools/scripts/peak_pie.py',
-                 'pybedtools/scripts/intersection_matrix.py',
-                 'pybedtools/scripts/intron_exon_reads.py',
-                 'pybedtools/scripts/examples/pbt_plotting_example.py',
-                 'pybedtools/scripts/pybedtools'],
         **setuptools_kwargs)
