Author: Michael R. Crusoe <michael.crusoe@gmail.com>
Description: rename the scripts to follow policy
--- a/setup.py
+++ b/setup.py
@@ -373,13 +373,15 @@ if __name__ == "__main__":
                                      "*.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)
