Skip to content

Commit

Permalink
Fix #1305
Browse files Browse the repository at this point in the history
  • Loading branch information
HeaTTheatR committed Aug 8, 2022
1 parent 8d6e027 commit 55cd7fe
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions setup.py
Expand Up @@ -64,14 +64,13 @@ def write_version_info():

def glob_paths(pattern):
out_files = []

src_path = os.path.join(os.path.dirname(__file__), "kivymd")

for root, dirs, files in os.walk(src_path):
for file in files:
if file.endswith(pattern):
filepath = os.path.join(str(Path(*Path(root).parts[1:])), file)
out_files.append(filepath)
out_files.append(filepath.split(f"kivymd{os.sep}")[1])

return out_files

Expand Down

0 comments on commit 55cd7fe

Please sign in to comment.