From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 6E95A1381F3 for ; Sun, 9 Jun 2013 04:13:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1A6F0E08ED; Sun, 9 Jun 2013 04:13:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2EBB8E086B for ; Sun, 9 Jun 2013 04:13:37 +0000 (UTC) Received: from localhost (ip-213-220-199-59.net.upcbroadband.cz [213.220.199.59]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4539D33E312 for ; Sun, 9 Jun 2013 04:13:34 +0000 (UTC) Date: Sun, 9 Jun 2013 06:13:32 +0200 From: yac To: gentoo-dev@lists.gentoo.org Subject: [gentoo-dev] repoman warning on python data_files Message-ID: <20130609061332.4c773f80@gentoo.org> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.17; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: 97bea7f0-2e49-4b3b-9631-f34a6abf8350 X-Archives-Hash: 8db0bfa4b244d7e574797c9041a8894c Hi I have just noticed that if package is using relative paths in:: setup.py data_files = ... Then the files are installed right into /usr in case of CPython (The exact dest is determined by sys.prefix) So, I'm thinking it could be worthwhile to add a warning to repoman if package is using this method as I can imagine this can be easily overlooked when creating a new package or mostly when bumping one.