Directories relative to the root of the source tree :wq
directory | content |
---|---|
src/ | Contains all code and run scripts |
doc/ | documentation |
test/ | unit tests and software acceptance tests |
The run scripts for the individual programs are found below nexus_image_tools
script name | purpose |
---|---|
qnx2img_exe.py | runs qnx2img |
img2nx_exe.py | runs img2nx |
nx2img_exe.py | runs nx2img |
At the current state the nexus image tools are not intended to be used as an independent Python package to be used by other programs. Thus, the package should not be installed like a normal Python package. Instead, I suggest an installation scheme as proposed by the Debian Python policy.
The nexus_image_tools directory from the src should typically to to /usr/share. Within nexus_image_tools three scripts are located which run the actual programs. Symbolic links to this scripts with appropriate name should be provided at a location in the PATH of the users.
link | target |
---|---|
/usr/bin/qnx2img | qnx2img_exe.py |
/usr/bin/img2nx | img2nx_exe.py |
/usr/bin/nx2img | nx2img_exe.py |