28 Sep
2001
28 Sep
'01
3:48 p.m.
On Thu, Sep 27, 2001 at 07:02:24AM -0700, R Datta wrote:
Is there distutil support for jython? i tried to install it, but of course setup.py wouldn't run because distutils module wasnt there :) Chicken n egg.
It may not run, but it shouldn't be because the distutils code is inaccessible. When you download the Distutils standalone distribution and run the setup.py, it should be importing the distutils package from the current directory. When I try running the setup.py with jython it fails, but with an exception: AttributeError: class 'org.python.modules.os' has no attribute 'utime' Presumably Java's lowest-common-denominator portability doesn't support os.utime(). Patches to make the code work with Jython would be welcome. --amk