
Hi Stephen, What you've quoted is actually kind of installation dependent, which is unfortunate and needs to be fixed. Setuptools, which we currently use to construct a few entry points, sometimes does magic to get around installing the actual scripts. The line: "pkg_resources.run_script('yt==1.5dev', 'iyt')" was automatically generated *by* setuptools to run iyt, which lives inside the scripts/ directory in the repository. 'iyt' itself does the instantiation of the IPython shell, which handles the threading. Changing the execution mechanism of the setuptools generated script will only change it until the next install, and I think we can provide, instead, a long-term fix by changing how IPython is instantiated. 'iyt' is where everything happens. Sigh, 'iyt' is something that should *just work*. I am embarrassed that it does not. I'll look into this, but I believe my previous fix will be a workable one. -Matt PS As a sidenote, we need to get rid of setuptools. We've had a ticket for a little while: http://yt.enzotools.org/ticket/175 to do this. Setuptools just adds too much magic and we don't get enough back from it. On Tue, Mar 3, 2009 at 10:05 AM, Stephen Skory <stephenskory@yahoo.com> wrote:
Thomas,
My question now is how to do the same thing for iyt. Is there a build option somewhere, so that iyt will start ipython with the -wthread flag?
iyt is just a shell script:
#!/path/to/yt/bin/python # EASY-INSTALL-SCRIPT: 'yt==1.5dev','iyt' __requires__ = 'yt==1.5dev' import pkg_resources pkg_resources.run_script('yt==1.5dev', 'iyt')
Can you try changing the first line to /path/to/yt/bin/ipython -wthread and see if that works?
_______________________________________________________ sskory@physics.ucsd.edu o__ Stephen Skory http://physics.ucsd.edu/~sskory/ _.>/ _Graduate Student ________________________________(_)_\(_)_______________ _______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org