Jan-08-2021, 10:28 AM
No, your fix is not standard practice. If 'runner.py' contains this
You could also consider creating a symbolic link
from dpp.core...it means that runner.py is designed to run on a system where the dpp module is installed. The normal command to install dpp is pip. You shouldn't need to change the module's code to make it work on your system.
You could also consider creating a symbolic link
Output:/directory/on/the/python/path/dpp -> /path/to/directory/decoder-plus-plus
You can also manipulate sys.path from within a sitecustomize.py or usercustomize.py file.