- assigned_to: nobody --> deve
Installing a current version under Linux required more
than a little bit of tweaking.
First, the tarfile doesn't drop into a local directory
with some kind of install script or anything. It tries
to untar itself into /usr/local/share, which doesn't
work on most systems and is extremely disorienting on
those it does -- that's not expected behaviour.
But then I went and installed the RPM, figuring that
was more likely to do what I needed it to do. It didn't.
Here's what happens:
First, nothing runs out of /usr/local/share by default,
so I slapped together a shell script to run
/usr/local/share/pyut/pyut.pyw. There's no #! line at
the top of that script, so I had to start the program
in the shell script as:
/usr/bin/python /usr/local/share/pyut/pyut.pyw
All okay, just inconvenient and frustrating.
But then things STILL don't work. It turns out that
you're trying to import your images from img/ which
resolves to (currentdir)/img/ when I run the program.
So in the end, I had to copy the entire tree from
/usr/local/share/pyut into a local ~/pyut directory, cd
into pyut and run it from there.
The fixes are not difficult, but there are fixes
required to actually run this like a real application
on a Unix system.