<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: My Pyraf Installation Adventure</title>
	<atom:link href="http://macsingularity.org/2007/01/29/my-pyraf-installation-adventure/feed/" rel="self" type="application/rss+xml" />
	<link>http://macsingularity.org/2007/01/29/my-pyraf-installation-adventure/</link>
	<description>IRAF and More - For Mac Using Astronomers and Astrophysicists</description>
	<pubDate>Thu, 04 Dec 2008 21:01:06 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
		<item>
		<title>By: August Muench</title>
		<link>http://macsingularity.org/2007/01/29/my-pyraf-installation-adventure/#comment-2928</link>
		<dc:creator>August Muench</dc:creator>
		<pubDate>Thu, 22 Feb 2007 03:09:11 +0000</pubDate>
		<guid isPermaLink="false">http://macsingularity.org/2007/01/29/my-pyraf-installation-adventure/#comment-2928</guid>
		<description>&lt;p&gt;i fixed my pmw notes, but they do not appear to have posted....&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>i fixed my pmw notes, but they do not appear to have posted&#8230;.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: August Muench</title>
		<link>http://macsingularity.org/2007/01/29/my-pyraf-installation-adventure/#comment-2927</link>
		<dc:creator>August Muench</dc:creator>
		<pubDate>Thu, 22 Feb 2007 03:00:16 +0000</pubDate>
		<guid isPermaLink="false">http://macsingularity.org/2007/01/29/my-pyraf-installation-adventure/#comment-2927</guid>
		<description>&lt;p&gt;and now stsci_python, though apparently I do not know how to fix this layout issue: &lt;/p&gt;

&lt;p&gt;stsci_python &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;cd ~/Science/python  &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;mkdir stsci_python &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;mv $DOWNLOADS/stsci&lt;em&gt;python-2.4.tar.gz stsci&lt;/em&gt;python &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;cd stsci_python &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;tar xzvf stsci_python-2.4.tar.gz &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;cd stscipython-2.4 &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;python setup.py install –with-f2c=/iraf/iraf/unix/bin.macintel –local=~/Science/python/stsci_python &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;cd stscidocs &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;python setup.py install  --local=$HOME/Science/python/stsci_python &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;export PYTHONPATH=${PYTHONPATH}:${HOME}/Science/python/stsci_python &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Done! &lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;ul&gt;
&lt;li&gt;aamn &lt;/li&gt;
&lt;/ul&gt;
</description>
		<content:encoded><![CDATA[<p>and now stsci_python, though apparently I do not know how to fix this layout issue: </p>

<p>stsci_python </p>

<ol>
<li><p>cd ~/Science/python  </p></li>
<li><p>mkdir stsci_python </p></li>
<li><p>mv $DOWNLOADS/stsci<em>python-2.4.tar.gz stsci</em>python </p></li>
<li><p>cd stsci_python </p></li>
<li><p>tar xzvf stsci_python-2.4.tar.gz </p></li>
<li><p>cd stscipython-2.4 </p></li>
<li><p>python setup.py install –with-f2c=/iraf/iraf/unix/bin.macintel –local=~/Science/python/stsci_python </p></li>
<li><p>cd stscidocs </p></li>
<li><p>python setup.py install  &#8211;local=$HOME/Science/python/stsci_python </p></li>
<li><p>export PYTHONPATH=${PYTHONPATH}:${HOME}/Science/python/stsci_python </p></li>
<li><p>Done! </p></li>
</ol>

<ul>
<li>aamn </li>
</ul>]]></content:encoded>
	</item>
	<item>
		<title>By: August Muench</title>
		<link>http://macsingularity.org/2007/01/29/my-pyraf-installation-adventure/#comment-2924</link>
		<dc:creator>August Muench</dc:creator>
		<pubDate>Thu, 22 Feb 2007 02:37:21 +0000</pubDate>
		<guid isPermaLink="false">http://macsingularity.org/2007/01/29/my-pyraf-installation-adventure/#comment-2924</guid>
		<description>&lt;p&gt;hi marcos,&lt;/p&gt;

&lt;p&gt;well, i have to admit stsci_python had me pretty turned off given my setup (see below). I've been building tools with pyfits on my linux box, so I thought to give it a shot on my imac core2duo esp after reading your post tonight.&lt;/p&gt;

&lt;p&gt;I am using macpython, python 2.4.4 Frameworks, and NOTHING python related from fink.  &lt;/p&gt;

&lt;p&gt;scipy,numeric,numarray etc are all installed using builds wrapped in diskimages/mpkg from http://pythonmac.org/packages/  &lt;/p&gt;

&lt;p&gt;(that is how i got python2.4.4)&lt;/p&gt;

&lt;p&gt;From this setup, I could run all of the stsci_python "tests", importing readline, Tkinter, etc without any problems.  The problem was Pmw but solving that was useful for other reasons.&lt;/p&gt;

&lt;p&gt;Pmw:
1. I got the Pmw 1.2 tarball from sourceforge. 
2. I have my iraf directory under ~/Science,
   so I added ~/Science/python
3. untarred Pmw into Science/python 
4. export 
PYTHONPATH=${PYTHONPATH}:/home/aamn/Science/python
5. Pmw installed!&lt;/p&gt;

&lt;p&gt;so then to stsci_python.  i skipped their "required" build of numarray (remember, I already had it in frameworks from pythonmac.org).  &lt;/p&gt;

&lt;p&gt;Then I downloaded the stsci_python tarball.&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;cd ~/Science/python
  mkdir stsci&lt;em&gt;python
  mv $DOWNLOADS/stsci&lt;/em&gt;python-2.4.tar.gz stsci&lt;em&gt;python
  cd stsci&lt;/em&gt;python
  tar xzvf stsci&lt;em&gt;python-2.4.tar.gz
  cd stsci&lt;/em&gt;python-2.4
  python setup.py install 
  --with-f2c=/iraf/iraf/unix/bin.macintel 
  --local=~/Science/python/stsci_python&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;whambam it worked, compiled in about 10sec actually. the putting the source into a sub directory of the local target is fairly important.&lt;/p&gt;

&lt;p&gt;pyraf (~/Science/python/stsci_python/pyraf) works fine, though if i have not started X11 it complains about no X. With X running in background (and restarting Terminal) things seem fine.  Note running inside of fullscreen X11 with macpython results in some weirdness but I just run from Terminal with X11 in background.&lt;/p&gt;

&lt;p&gt;I copied the stsci_python-2.4/test24.py into my iraf directory and ran python test24.py -- no complaints. It also passed the pyfits tests...&lt;/p&gt;

&lt;p&gt;I'm sure I'll run into other funny business but so far, so good.  and alot easier then suggested by stsci and another chance to avoid duplicate python installations...&lt;/p&gt;

&lt;p&gt;cheers,&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;gus muench&lt;/li&gt;
&lt;/ul&gt;
</description>
		<content:encoded><![CDATA[<p>hi marcos,</p>

<p>well, i have to admit stsci_python had me pretty turned off given my setup (see below). I&#8217;ve been building tools with pyfits on my linux box, so I thought to give it a shot on my imac core2duo esp after reading your post tonight.</p>

<p>I am using macpython, python 2.4.4 Frameworks, and NOTHING python related from fink.  </p>

<p>scipy,numeric,numarray etc are all installed using builds wrapped in diskimages/mpkg from <a href="http://pythonmac.org/packages/" rel="nofollow">http://pythonmac.org/packages/</a>  </p>

<p>(that is how i got python2.4.4)</p>

<p>From this setup, I could run all of the stsci_python &#8220;tests&#8221;, importing readline, Tkinter, etc without any problems.  The problem was Pmw but solving that was useful for other reasons.</p>

<p>Pmw:
1. I got the Pmw 1.2 tarball from sourceforge. 
2. I have my iraf directory under ~/Science,
   so I added ~/Science/python
3. untarred Pmw into Science/python 
4. export 
PYTHONPATH=${PYTHONPATH}:/home/aamn/Science/python
5. Pmw installed!</p>

<p>so then to stsci_python.  i skipped their &#8220;required&#8221; build of numarray (remember, I already had it in frameworks from pythonmac.org).  </p>

<p>Then I downloaded the stsci_python tarball.</p>

<blockquote>
  <p>cd ~/Science/python
  mkdir stsci<em>python
  mv $DOWNLOADS/stsci</em>python-2.4.tar.gz stsci<em>python
  cd stsci</em>python
  tar xzvf stsci<em>python-2.4.tar.gz
  cd stsci</em>python-2.4
  python setup.py install 
  &#8211;with-f2c=/iraf/iraf/unix/bin.macintel 
  &#8211;local=~/Science/python/stsci_python</p>
</blockquote>

<p>whambam it worked, compiled in about 10sec actually. the putting the source into a sub directory of the local target is fairly important.</p>

<p>pyraf (~/Science/python/stsci_python/pyraf) works fine, though if i have not started X11 it complains about no X. With X running in background (and restarting Terminal) things seem fine.  Note running inside of fullscreen X11 with macpython results in some weirdness but I just run from Terminal with X11 in background.</p>

<p>I copied the stsci_python-2.4/test24.py into my iraf directory and ran python test24.py &#8212; no complaints. It also passed the pyfits tests&#8230;</p>

<p>I&#8217;m sure I&#8217;ll run into other funny business but so far, so good.  and alot easier then suggested by stsci and another chance to avoid duplicate python installations&#8230;</p>

<p>cheers,</p>

<ul>
<li>gus muench</li>
</ul>]]></content:encoded>
	</item>
</channel>
</rss>
