I've made a pretty simple alteration to the wrapper script at Michael Foord's suggestion:
index 702e8be..57b1a08 100644 --- a/debian/ipy +++ b/debian/ipy @@ -4,5 +4,8 @@ if [ "$1" = "--debug" ]; then MONO_OPTIONS="--debug" shift fi + +IRONPYTHONPATH=$IRONPYTHONPATH:/usr/lib/python2.6 +export IRONPYTHONPATH /usr/bin/mono $MONO_OPTIONS /usr/lib/ironpython/ipy.exe "$@" On Wed, 2010-03-17 at 17:29 +0000, Dino Viehland wrote: > This most have been a modification made to IronPython 1.1.1. I would guess > the Ubuntu site.py has been modified to append these directories and a > similar change would need to be made for Ipy 2.6. But someone could have > modified the Ipy source to include these directories as well. > > > -----Original Message----- > > From: C.J. Adams-Collier [mailto:c...@colliertech.org] > > Sent: Wednesday, March 17, 2010 8:48 AM > > To: Bug 525547; Dino Viehland > > Subject: Re: [Bug 525547] Re: [FFe] Please sync dlr-languages > > 20090805+git.e6b28d27+dfsg-1 from Debian unstable (main) > > > > Dino, > > > > Can you answer #1 below? > > > > Cheers, > > > > C.J. > > > > > > On Wed, 2010-03-17 at 14:20 +0000, Savvas Radevic wrote: > > > I backported ironpython (2.6 Beta 2 DEBUG (2.6.0.20)) for karmic and > > > lucid and tested it on both ubuntu 9.10 and daily build of future 10.04. > > > I noticed two "bugs" (inconveniences might be a better word): > > > > > > 1. The command "import sys; print(sys.path)" doesn't contain > > > python-2.6 directories by default. The older ironpython (1.1.1) does. > > > Is this deliberate? > > > > > > 2. In the interactive shell, ctrl-z doesn't close the app anymore, I > > > have to use "killall -9 ipy" as well. However, "import sys; sys.exit()" > > > works! This reply in a bug report saved the day: > > > http://bugs.debian.org > > > /cgi-bin/bugreport.cgi?bug=516396#15 > > > > > > The log for the first point: > > > $ ipy > > > IronPython 2.6 Beta 2 DEBUG (2.6.0.20) on .NET 2.0.50727.1433 Type > > > "help", "copyright", "credits" or "license" for more information. > > > >>> import sys > > > >>> sys.path > > > ['.', '/home/forger', '/usr/lib/ironpython/Lib', > > > '/usr/lib/ironpython/DLLs', '/usr/lib/ironpython'] > > > >>> sys.exit() > > > > > > $ apt-cache policy ironpython > > > ironpython: > > > Installed: 2.6~beta2-1~karmic1 > > > Candidate: 2.6~beta2-1~karmic1 > > > Version table: > > > *** 2.6~beta2-1~karmic1 0 > > > 100 /var/lib/dpkg/status > > > 1.1.1-3 0 > > > 500 http://archive.ubuntu.com karmic/universe Packages > > > > > > > > > [ After downgrading to 1.1.1 ] > > > > > > $ ipy > > > IronPython 1.1.1 (1.1.1) on .NET 2.0.50727.1433 Copyright (c) > > > Microsoft Corporation. All rights reserved. > > > >>> import sys > > > >>> sys.path > > > ['/home/forger', '/usr/lib/ironpython/Lib', '/usr/lib/python2.4', > > > '/usr/lib/python2.4/site-packages'] > > > >>> > > > > > > > > > Other than that, it looks pretty stable to me! > > > > > > ** Bug watch added: Debian Bug tracker #516396 > > > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=516396 > > > > -- [FFe] Please sync dlr-languages 20090805+git.e6b28d27+dfsg-1 from Debian unstable (main) https://bugs.launchpad.net/bugs/525547 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs