Ticket #243 (closed defect: fixed)
UmitWeb setup.py error
|Reported by:||nopper||Owned by:||boltrix|
UmitWeb like also Umit suffers of this problem. When an user run the setup.py like:
$ python setup.py install --prefix=/usr --root=/tmp/tmpdir
Everything should be installed in /tmp/tmpdir like as chrooting in /tmp/tmpdir and launching that command without the --root option. This is not what happens, because in the launcher umitwebserver and umit, respectively for UmitWeb and Umit, a line was inserted:
This is what set_modules_path() function does. A similar behavior has the function fix_paths, because '/tmp/tmpdir' is prepended.
It's desiderable to avoid this situation by adding an option to the setup.py.