Skip to content

Commit

Permalink
More package data troubleshooting
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonDaniel committed Nov 21, 2023
1 parent 32ceef5 commit 24e9921
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,12 @@ def get_requirements(requirements_filename: str):


def find_resource_files():
resource_base_dirs = ("docker", "helm_charts", "templates")
base_dir = path.join(BASE_PATH, "neon_diana_utils")
resource_base_dirs = ("neon_diana_utils/docker",
"neon_diana_utils/templates")
package_data = []
for res in resource_base_dirs:
if path.isdir(path.join(base_dir, res)):
for (directory, _, files) in walk(path.join(base_dir, res)):
if path.isdir(path.join(BASE_PATH, res)):
for (directory, _, files) in walk(path.join(BASE_PATH, res)):
if files:
package_data.append(
path.join(directory.replace(BASE_PATH, "").lstrip('/'),
Expand Down

0 comments on commit 24e9921

Please sign in to comment.