Ticket #243 (closed defect: fixed)
UmitWeb setup.py error
| Reported by: | nopper | Owned by: | boltrix |
|---|---|---|---|
| Priority: | medium | Milestone: | Umit 1.0 |
| Component: | Umit | Version: | current svn |
| Keywords: | Cc: |
Description
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:
sys.path.append('/tmp/tmpdir/usr/lib/python2.6/site-packages/')
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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
