From owner-freebsd-python@FreeBSD.ORG Mon Feb 20 03:42:44 2012 Return-Path: Delivered-To: freebsd-python@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B5AAA106564A for ; Mon, 20 Feb 2012 03:42:44 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from mail.farley.org (mail.farley.org [IPv6:2001:470:1f07:14d3:2::11]) by mx1.freebsd.org (Postfix) with ESMTP id 6669C8FC0C for ; Mon, 20 Feb 2012 03:42:44 +0000 (UTC) Received: from thor.farley.org (HPooka@thor.farley.org [IPv6:2001:470:1f07:14d3:1::5]) by mail.farley.org (8.14.5/8.14.5) with ESMTP id q1K3gh5s081706 for ; Sun, 19 Feb 2012 22:42:43 -0500 (EST) (envelope-from scf@FreeBSD.org) Date: Sun, 19 Feb 2012 22:42:43 -0500 (EST) From: "Sean C. Farley" To: freebsd-python@FreeBSD.org Message-ID: User-Agent: Alpine 2.02 (BSF 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Spam-Status: No, score=-0.3 required=4.0 tests=AWL,BAYES_00,SPF_SOFTFAIL, TO_NO_BRKTS_DIRECT autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mail.farley.org Cc: Subject: Install shared objects into site-packages X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Feb 2012 03:42:44 -0000 I am using virtualenv --no-site-packages (the default now) to be able to build an environment on both FreeBSD and Linux. The issue I am running into is that _sqlite3.so from databases/py-sqlite3 is being installed into site-packages as opposed to lib-dynload. On the CentOS we are using, _sqlite3.so is installed in lib-dynload. I tried a bit to change the port's setup.py, but I have not been successful. How can databases/py-sqlite3 and other ports that are typically part of Python by default be made to install into lib-dynload? These are the one that lang/python27 disables: disabled_module_list = ["_bsddb", "_sqlite3", "_tkinter", "gdbm", "mpz"] Thank you. Sean -- scf@FreeBSD.org