We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07b92b7 commit 4c1983fCopy full SHA for 4c1983f
build.py
@@ -52,7 +52,7 @@ def pack_files(project):
52
:return: None
53
"""
54
# https://github.com/pybuilder/pybuilder/issues/127#issuecomment-350513803
55
- package_path = sorted(Path(__file__).parent.glob('src/main/python/*'))[0]
+ package_path = list(Path(__file__).parent.glob('src/main/python/*'))[0]
56
resources_paths = sorted(package_path.glob('resources/**'))
57
project.package_data.update(
58
{ package_path.name: [str((path.relative_to(package_path) / '*').as_posix()) for path in resources_paths] })
0 commit comments