Skip to content

Commit

Permalink
Hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelotrevisani committed Mar 12, 2020
1 parent 390489c commit 5993b03
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion grayskull/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ def get_vendored_dependencies(script_file: str) -> List:
@lru_cache(maxsize=20)
def get_local_modules(sdist_folder: str) -> List:
result = []
for py_file in glob("*.py"):
for py_file in glob(f"{sdist_folder}/*.py"):
py_file = os.path.basename(py_file)
if py_file == "setup.py":
continue
result.append(os.path.splitext(py_file)[0])
Expand Down

0 comments on commit 5993b03

Please sign in to comment.