<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">There is no python setup file. The makefile uses python-config to get the path to the python header files. When port select sets python to none, it builds with apple python 2.7 without error. When port select sets python to python27 it fails because it cannot find a python setup.<br class=""><div class=""><br class="webkit-block-placeholder"></div><div class="">In the terminal, with it set to python27 I get:</div><div class=""><br class=""></div><div class="">brethen-air:~ marbre$ python-config --includes<br class="">-I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7</div><div class=""><br class=""></div><div class="">with it set to none:</div><div class=""><br class=""></div><div class="">brethen-air:~ marbre$ python-config --includes<br class="">-bash: /opt/local/bin/python-config: No such file or directory<br class=""><br class=""></div><div class="">but /usr/bin//usr/bin/python-config works,</div><div class=""><br class=""></div><div class="">brethen-air:~ marbre$ /usr/bin/python-config --includes<br class="">-I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7<br class=""><br class=""></div><div class=""><br class=""></div><div class="">
<div class="">Mark Brethen</div><div class=""><a href="mailto:mark.brethen@gmail.com" class="">mark.brethen@gmail.com</a></div><div class=""><br class=""></div><br class="Apple-interchange-newline">

</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Oct 28, 2018, at 6:23 PM, Mark Brethen <<a href="mailto:mark.brethen@gmail.com" class="">mark.brethen@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=us-ascii" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div class="">
<div class="">Mark Brethen</div><div class=""><a href="mailto:mark.brethen@gmail.com" class="">mark.brethen@gmail.com</a></div><div class=""><br class=""></div><br class="Apple-interchange-newline">

</div>
<br class=""><div class=""><blockquote type="cite" class=""><div class="">On Oct 28, 2018, at 5:46 PM, Ryan Schmidt <<a href="mailto:ryandesign@macports.org" class="">ryandesign@macports.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">setup.py is where a python project defines how it is to be set up. It's like a configure file. It's specific to each project. There isn't a default. Maybe for this software the configure script creates the setup.py file; I'm not sure.</span></div></blockquote></div><br class=""><div class="">RedPy.so is written in c code. The makefile has this:</div><div class=""><br class=""></div><div class=""><div class="">RedPy.o: $(srcdir)/RedPy.c</div><div class=""><span class="Apple-tab-span" style="white-space:pre">        </span>$(CC) -c $(CFLAGS) $(shell python-config --includes) -o RedPy.o $(srcdir)/RedPy.c</div></div><div class=""><br class=""></div><div class=""></div></div><span id="cid:10E4FC8B-B723-4922-AAD9-F0AB7452EA93@attlocal.net"><RedPy.c></span><meta http-equiv="Content-Type" content="text/html charset=us-ascii" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""></div><div class=""><br class=""></div><div class=""><br class=""></div></div></div></blockquote></div><br class=""></body></html>