[MacPorts] #21528: python26 2.6.2_4: scripts installed with distutils have incorrect hashbang

MacPorts noreply at macports.org
Mon Sep 21 23:03:36 PDT 2009


#21528: python26 2.6.2_4: scripts installed with distutils have incorrect hashbang
---------------------------------------+------------------------------------
 Reporter:  dackze+macports@…          |       Owner:  blb@…           
     Type:  defect                     |      Status:  new             
 Priority:  Normal                     |   Milestone:                  
Component:  ports                      |     Version:  1.8.0           
 Keywords:  python                     |        Port:  python26        
---------------------------------------+------------------------------------

Comment(by blb@…):

 I can't reproduce this here; if I run
 {{{
 /opt/local/bin/python2.6 setup.py install --root=/tmp/destroot
 }}}
 the dnuos script has a proper shebang line:
 {{{
 #!/opt/local/Library/Frameworks/Python.framework/Versions/2.6/Resources/Python.app/Contents/MacOS/Python
 import sys
 import dnuos
 ...
 }}}

 Also, creating a Portfile for dnuos, installing it shows the same shebang;
 I added the port in r58095 if you want to try that to see what happens.

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


More information about the macports-tickets mailing list