Return-Path: X-Original-To: apmail-incubator-ambari-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ambari-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3160FF1F8 for ; Mon, 8 Apr 2013 18:45:17 +0000 (UTC) Received: (qmail 96857 invoked by uid 500); 8 Apr 2013 18:45:17 -0000 Delivered-To: apmail-incubator-ambari-dev-archive@incubator.apache.org Received: (qmail 96836 invoked by uid 500); 8 Apr 2013 18:45:17 -0000 Mailing-List: contact ambari-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-dev@incubator.apache.org Delivered-To: mailing list ambari-dev@incubator.apache.org Received: (qmail 96825 invoked by uid 99); 8 Apr 2013 18:45:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Apr 2013 18:45:17 +0000 Date: Mon, 8 Apr 2013 18:45:16 +0000 (UTC) From: "Trevor McKay (JIRA)" To: ambari-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-1779) Remove hard references to /usr/lib/pythonX.Y/site-packages from all files (shell scripts, java, poms, python) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-1779?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Trevor McKay updated AMBARI-1779: --------------------------------- Attachment: (was: ambari_build.patch) > Remove hard references to /usr/lib/pythonX.Y/site-packages from all files (shell scripts, java, poms, python) > ------------------------------------------------------------------------------------------------------------- > > Key: AMBARI-1779 > URL: https://issues.apache.org/jira/browse/AMBARI-1779 > Project: Ambari > Issue Type: Improvement > Components: build > Affects Versions: 1.2.0 > Environment: Fedora > Reporter: Trevor McKay > Fix For: 1.3.0 > > > Hard references to /usr/lib/pythonX.Y/site-packages should be eliminated from the build process and java/runtime scripts for portability. > Any python modules in site-packages should be importable (ie, a proper package) and will be found on the standard python path. Therefore, any code that needs to be run from those modules can be run with python wrapper scripts located in /usr/bin or /usr/sbin (for example) without an explicit path reference. > Python code in site-packages that is not importable should be made so and run from a wrapper, or it should be relocated (to /usr/lib/exec/ambari, for example) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira