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
I'm also not able to use this file directly like a script, as it does not bootstrap the module:
# cwd is repo root directory
$ python ./ue4cli
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/home/kornel/Projects/ue4cli/./ue4cli/__main__.py", line 1, in<module>
from .cli import main
ImportError: attempted relative import with no known parent package
Maybe I'm not using it right?
Shall we fix this?
The text was updated successfully, but these errors were encountered:
NOTE:
To be able to use ue4cli from sourcecode without installing it, one must move the __main__.py file to the ue4cli's root directory and change from .cli import main to from ue4cli.cli import main. Then invoking the scripts will be possible by python /path/to/ue4cliroot
__main__.py
does not seem to be used anywhere.The entry point for ue4cli is actually in a different place:
ue4cli/setup.py
Lines 35 to 37 in fed71c1
I'm also not able to use this file directly like a script, as it does not bootstrap the module:
Maybe I'm not using it right?
Shall we fix this?
The text was updated successfully, but these errors were encountered: