From owner-freebsd-python@freebsd.org  Thu Sep 20 11:59:41 2018
Return-Path: <owner-freebsd-python@freebsd.org>
Delivered-To: freebsd-python@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id EEEE41099BB6
 for <freebsd-python@mailman.ysv.freebsd.org>;
 Thu, 20 Sep 2018 11:59:40 +0000 (UTC)
 (envelope-from Axel.Rau@Chaos1.DE)
Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org
 [IPv6:2001:1900:2254:206a::50:5])
 by mx1.freebsd.org (Postfix) with ESMTP id 8AACE89FF7
 for <freebsd-python@freebsd.org>; Thu, 20 Sep 2018 11:59:40 +0000 (UTC)
 (envelope-from Axel.Rau@Chaos1.DE)
Received: by mailman.ysv.freebsd.org (Postfix)
 id 4F03A1099BB5; Thu, 20 Sep 2018 11:59:40 +0000 (UTC)
Delivered-To: python@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2CF081099BB3
 for <python@mailman.ysv.freebsd.org>; Thu, 20 Sep 2018 11:59:40 +0000 (UTC)
 (envelope-from Axel.Rau@Chaos1.DE)
Received: from mailout4.lrau.net (mailout4.lrau.net [IPv6:2a05:bec0:26:2::73])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256
 bits)) (Client CN "mailout4.lrau.net",
 Issuer "Let's Encrypt Authority X3" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id BA26289FF4;
 Thu, 20 Sep 2018 11:59:39 +0000 (UTC)
 (envelope-from Axel.Rau@Chaos1.DE)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=chaos1.de; 
 s=email1;
 h=References:To:Cc:In-Reply-To:Date:Subject:Mime-Version:
 Content-Type:Message-Id:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=aakbaPz88Ger4xtVu29sfcSIsZwsJYwe/GKz2kTqG6g=; b=dI8/5XdNTkGoglvYJLKyNc5zmG
 rBAImUpME0Xu2UMysVXnY/2YP1FSgNFGmB/zUDy7fVAzh77UK2x/RzAb4Edait1h+O80vfmsudsyF
 RDsmnRCJVHJM6lOoyN+8Kiqbww0TqzGa8t+YGA/vp0/LLaQaMU7DaHET+yVbAgc7+DLXzDYNt4RFF
 iXaf4wIiK05AW7jaDhqxFJgHUFlMIW/JcWn+PjHkCHl2cm6LZ2sVQfHedsgv6y1Bgo2TvtGPCKBQl
 WHwTT3XcH47QLyRM2qqbxnsrQ04NfzTIpZXaFAUkX/qkaFKCx0wiqEbMZTLKas1W/7Jo7yOlmai75
 +9CEvpqw==;
Received: from [91.216.35.74] (helo=imap.lrau.net)
 by mailout4.lrau.net with esmtp (Exim 4.91 (FreeBSD))
 (envelope-from <Axel.Rau@Chaos1.DE>)
 id 1g2xcQ-000Gz0-EY; Thu, 20 Sep 2018 11:59:38 +0000
Received: from Axel.Rau@Chaos1.DE by imap.lrau.net (Archiveopteryx
 3.2.0) with esmtpsa id 1537444777-3472-3453/7/12; Thu, 20 Sep 2018
 11:59:37 +0000
From: Axel Rau <Axel.Rau@Chaos1.DE>
Message-Id: <CC7964E0-CADD-4C11-B713-7AD6C6AF478A@Chaos1.DE>
Mime-Version: 1.0
Subject: Re: Why are devel/py-setuptools missing -I${LOCALBASE}/include ?
Date: Thu, 20 Sep 2018 13:59:36 +0200
In-Reply-To: <3f44c803-df9c-5683-3aa5-7bec1ba721a1@FreeBSD.org>
Cc: python@FreeBSD.org,
 Michael =?ISO-8859-1?q?Str=F6der?= <michael@stroeder.com>,
 Palle Girgensohn <girgen@FreeBSD.org>
To: Kubilay Kocak <koobs@FreeBSD.org>
References: <9D14E231-BFD7-4442-9418-3878E70A9C71@Chaos1.DE>
 <3f44c803-df9c-5683-3aa5-7bec1ba721a1@FreeBSD.org>
X-Mailer: Apple Mail (2.3445.9.1)
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Content-Filtered-By: Mailman/MimeDel 2.1.27
X-BeenThere: freebsd-python@freebsd.org
X-Mailman-Version: 2.1.27
Precedence: list
List-Id: FreeBSD-specific Python issues <freebsd-python.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-python>, 
 <mailto:freebsd-python-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-python/>
List-Post: <mailto:freebsd-python@freebsd.org>
List-Help: <mailto:freebsd-python-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-python>,
 <mailto:freebsd-python-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Sep 2018 11:59:41 -0000



> Am 20.09.2018 um 11:35 schrieb Kubilay Kocak <koobs@FreeBSD.org>:

> Standard warning first up: use of pip install as root (without =E2=80=94=
user)
This setup is in venv.
>=20
>=20
> - Try CFLAGS/LDFLAGS to pass the -I/-L paths.
> - Try using the --include-dirs, --libraries and --library-dirs (-L)
> arguments to the setuptools build_ext command (see pythonX.Y setup.py
> build_ext =E2=80=94help for more)

Neither
  python2.7 setup.py build_ext =E2=80=94include-dirs /usr/local/include =
--library-dirs /usr/local/lib
nor
 include_dirs =3D /usr/local/include
in setup.cfg worked.


=2D--
PGP-Key:29E99DD6  =E2=98=80  computing @ chaos claudius