summaryrefslogtreecommitdiff
path: root/net/mrtparse/files/patch-setup.py
blob: 68b6c324cc104060f957e19215fe6dd902650f95 (plain) (blame)
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
--- setup.py.orig	2019-01-08 09:46:20 UTC
+++ setup.py
@@ -29,6 +29,7 @@ except ImportError:
 import os
 import sys
 from codecs import open
+from glob import glob
 import mrtparse
 
 here = os.path.abspath(os.path.dirname(__file__))
@@ -67,14 +68,7 @@ try:
         ],
         keywords='mrt bgp',
         packages = ['mrtparse'],
-        package_data={
-            'mrtparse': [
-                'examples/*.py',
-                'samples/bird*',
-                'samples/openbgpd*',
-                'samples/quagga*'
-            ]
-        },
+        scripts=glob('examples/*'),
         zip_safe=False,
     )
 finally: