Skip to content

Commit 4c1983f

Browse files
committed
Minor changes in files packaging
1 parent 07b92b7 commit 4c1983f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def pack_files(project):
5252
:return: None
5353
"""
5454
# https://github.com/pybuilder/pybuilder/issues/127#issuecomment-350513803
55-
package_path = sorted(Path(__file__).parent.glob('src/main/python/*'))[0]
55+
package_path = list(Path(__file__).parent.glob('src/main/python/*'))[0]
5656
resources_paths = sorted(package_path.glob('resources/**'))
5757
project.package_data.update(
5858
{ package_path.name: [str((path.relative_to(package_path) / '*').as_posix()) for path in resources_paths] })

0 commit comments

Comments
 (0)