You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The fn/scripts directory is not being copied into the wheel package when building the project from source distribution. It seems that such directory is being ignored because it is not a valid python package. This issue causes the mian fdk script to fail with the following error: ModuleNotFoundError: No module named 'fdk.scripts'. Such error is raised because the script has the following import statement: from fdk.scripts.fdk import main.
The issue can be easily fixed by adding an empty __init__.py file to fdk/scripts.
Additional information you deem important (e.g. issue happens only occasionally):
The issue happens when building any version of source distribution files.
Description:
The
fn/scripts
directory is not being copied into the wheel package when building the project from source distribution. It seems that such directory is being ignored because it is not a valid python package. This issue causes the mianfdk
script to fail with the following error:ModuleNotFoundError: No module named 'fdk.scripts'
. Such error is raised because the script has the following import statement:from fdk.scripts.fdk import main
.The issue can be easily fixed by adding an empty
__init__.py
file tofdk/scripts
.The
setup.py
corroborates my theory:Steps to reproduce the issue:
Describe the results you received:
Describe the results you expected:
Additional information you deem important (e.g. issue happens only occasionally):
The issue happens when building any version of source distribution files.
Additional environment details (python version, code sample, etc.):
Python 3.6.8
The text was updated successfully, but these errors were encountered: