File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,11 @@ def findsome(subdir, extensions):
31
31
f .split (op .sep , 1 )[1 ] for f in findall (subdir )
32
32
if op .splitext (f )[- 1 ].lstrip ('.' ) in extensions
33
33
]
34
+ # Only recentish versions of find_packages support include
35
+ # heudiconv_pkgs = find_packages('.', include=['heudiconv*'])
36
+ # so we will filter manually for maximal compatibility
37
+ heudiconv_pkgs = [pkg for pkg in find_packages ('.' ) if pkg .startswith ('heudiconv' )]
38
+
34
39
35
40
setup (
36
41
name = ldict ['__packagename__' ],
@@ -40,7 +45,7 @@ def findsome(subdir, extensions):
40
45
description = ldict ['__description__' ],
41
46
long_description = ldict ['__longdesc__' ],
42
47
license = ldict ['__license__' ],
43
- packages = find_packages () ,
48
+ packages = heudiconv_pkgs ,
44
49
entry_points = {'console_scripts' : [
45
50
'heudiconv=heudiconv.cli.run:main' ,
46
51
'heudiconv_monitor=heudiconv.cli.monitor:main' ,
You can’t perform that action at this time.
0 commit comments