[MacPorts] #30702: py27-ipython: No module named Shell

MacPorts noreply at macports.org
Tue Aug 16 18:20:25 PDT 2011


#30702: py27-ipython: No module named Shell
-------------------------------+--------------------------------------------
 Reporter:  njbutko@…          |       Owner:  akitada@…           
     Type:  defect             |      Status:  new                 
 Priority:  Normal             |   Milestone:                      
Component:  ports              |     Version:  2.0.1               
 Keywords:                     |        Port:  py27-ipython        
-------------------------------+--------------------------------------------

Comment(by njbutko@…):

 So I think this is the wrong fix. The correct script should read:

 {{{
 __requires__ = 'ipython==0.11.dev'
 import sys
 from pkg_resources import load_entry_point

 sys.exit(
        load_entry_point('ipython==0.11.dev', 'console_scripts',
 'ipython')()
     )
 }}}

 This allows for correct parsing of command line arguments, including the
 new "qtconsole" argument, which works great!

 The above comes from the ipython script you get via easy_install.

-- 
Ticket URL: <https://trac.macports.org/ticket/30702#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list