File: rename-scripts

package info (click to toggle)
python-pybedtools 0.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 16,096 kB
  • sloc: python: 9,586; cpp: 899; makefile: 146; sh: 116
file content (28 lines) | stat: -rw-r--r-- 1,397 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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)