Message4994
In distutils/util.py, the function `change_root' is aware of Jython but
makes a rash assumption that Jython is always running on a POSIX pathed
host system.
This is seen in the snippet where it merely strips off the first
character of the pathname and believes that is sufficient to make the
path relative. On NT pathed systems, this will merely remove the drive
letter, leaving ":\jython" as the "relative" path, which it obviously is
not.
The function `os.path.stripdrive' is documented that it is harmless to
use on a POSIX pathed system, but essential for our needs on a Jython-
on-NT system.
I verified that with this patch applied, `bdist_dumb' on a Jython-on-
Linux system still behaves as it did before, and behaves correctly on
Jython-on-NT. |
|
Date |
User |
Action |
Args |
2009-08-05 21:18:43 | mdaniel | set | recipients:
+ mdaniel |
2009-08-05 21:18:43 | mdaniel | set | messageid: <1249507123.19.0.876114163019.issue1425@psf.upfronthosting.co.za> |
2009-08-05 21:18:43 | mdaniel | link | issue1425 messages |
2009-08-05 21:18:42 | mdaniel | create | |
|