Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Mar 2020 10:58:51 -0800
From:      Chris <portmaster@BSDforge.com>
To:        freebsd-python <freebsd-python@freebsd.org>
Subject:   Including the correct (python version) include path
Message-ID:  <fd53945df3f406a8e3062ad3a7ec8136@udns.ultimatedns.net>

index | next in thread | raw e-mail

I'm dragging some code into the 21st century. I'm happy to
say the python37 AST now gives it a clean bill of health.
But I'm (currently) only able to build it by prepending
the python && python-version to the
#include <Python.h>
line.
USES= python:3.5+
doesn't seem to populate -I for my needs. If the user has
3, or 4 versions it seems harder. Not to mention if malloc
option was added, which appends an m to ${PYTHON_SUFFIX}
How does everyone deal with this sort of thing?

Thank you for all your time, and consideration.

--Chris




help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fd53945df3f406a8e3062ad3a7ec8136>