[MacPorts] #60104: py38-sip: sip.h installed in "wrong" directory?

MacPorts noreply at macports.org
Tue Feb 18 16:20:42 UTC 2020


#60104: py38-sip: sip.h installed in "wrong" directory?
---------------------------------+--------------------
 Reporter:  josephsacco          |      Owner:  (none)
     Type:  defect               |     Status:  new
 Priority:  Normal               |  Milestone:
Component:  ports                |    Version:  2.6.2
 Keywords:  python include path  |       Port:  py-sip
---------------------------------+--------------------
 py38-sip appears to install the include file sip.h in the wrong directory:

 {{{
 /opt/local/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8m/sip.h
 is provided by: py38-sip
 }}}

 On my system

 {{{/opt/local/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8m}}}
 contains only sip.h.

 All of the other python38 include files are located in

 {{{/opt/local/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8}}}.

 Why is that?

 For python2.7, all the include files are located in a single directory:

 {{{/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7}}}

 For python3.7, all the include files are located in a single directory:

 {{{/opt/local/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m}}}

 Note the 'm' at the end of the python3.7 include path is absent from the
 python2.7 include path.

 Why is that?

 Thoughts?

 -Joseph

-- 
Ticket URL: <https://trac.macports.org/ticket/60104>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list