port select python and config error

Mark Brethen mark.brethen at gmail.com
Sun Oct 28 23:23:17 UTC 2018


Mark Brethen
mark.brethen at gmail.com



> On Oct 28, 2018, at 5:46 PM, Ryan Schmidt <ryandesign at macports.org> wrote:
> 
> 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.

RedPy.so is written in c code. The makefile has this:

RedPy.o: $(srcdir)/RedPy.c
	$(CC) -c $(CFLAGS) $(shell python-config --includes) -o RedPy.o $(srcdir)/RedPy.c




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20181028/8a08c86b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: RedPy.c
Type: application/octet-stream
Size: 2083 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20181028/8a08c86b/attachment.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20181028/8a08c86b/attachment-0001.html>


More information about the macports-dev mailing list