{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/linuxbrew/issues/443","labels_url":"https://api.github.com/repos/Homebrew/linuxbrew/issues/443/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/linuxbrew/issues/443/comments","events_url":"https://api.github.com/repos/Homebrew/linuxbrew/issues/443/events","html_url":"https://github.com/Homebrew/linuxbrew/issues/443","id":89735226,"number":443,"title":"python.setup_install_args - puts site-packages in lib64 not lib ","user":{"login":"tseemann","id":453972,"avatar_url":"https://avatars.githubusercontent.com/u/453972?v=3","gravatar_id":"","url":"https://api.github.com/users/tseemann","html_url":"https://github.com/tseemann","followers_url":"https://api.github.com/users/tseemann/followers","following_url":"https://api.github.com/users/tseemann/following{/other_user}","gists_url":"https://api.github.com/users/tseemann/gists{/gist_id}","starred_url":"https://api.github.com/users/tseemann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tseemann/subscriptions","organizations_url":"https://api.github.com/users/tseemann/orgs","repos_url":"https://api.github.com/users/tseemann/repos","events_url":"https://api.github.com/users/tseemann/events{/privacy}","received_events_url":"https://api.github.com/users/tseemann/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Homebrew/linuxbrew/labels/build-error","name":"build-error","color":"e11d21"}],"state":"open","locked":false,"assignee":{"login":"tdsmith","id":173889,"avatar_url":"https://avatars.githubusercontent.com/u/173889?v=3","gravatar_id":"","url":"https://api.github.com/users/tdsmith","html_url":"https://github.com/tdsmith","followers_url":"https://api.github.com/users/tdsmith/followers","following_url":"https://api.github.com/users/tdsmith/following{/other_user}","gists_url":"https://api.github.com/users/tdsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/tdsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tdsmith/subscriptions","organizations_url":"https://api.github.com/users/tdsmith/orgs","repos_url":"https://api.github.com/users/tdsmith/repos","events_url":"https://api.github.com/users/tdsmith/events{/privacy}","received_events_url":"https://api.github.com/users/tdsmith/received_events","type":"User","site_admin":false},"milestone":null,"comments":14,"created_at":"2015-06-20T07:52:37Z","updated_at":"2015-07-03T11:53:17Z","closed_at":null,"body":"I'm trying to package a standalone python tool using the standard formula:\r\n    \r\n    ENV.prepend_create_path \"PYTHONPATH\", libexec/\"lib/python2.7/site-packages\"\r\n    system \"python\", *Language::Python.setup_install_args(libexec)\r\n    bin.install Dir[libexec/\"bin/*\"]\r\n    bin.env_script_all_files(libexec/\"bin\", :PYTHONPATH => ENV[\"PYTHONPATH\"])\r\n\r\nOn Linux, there is a problem:\r\n\r\nIt creates this (lib):\r\n\r\n```\r\n/bio/linuxbrew/Cellar/cutadapt/1.8.1/libexec/lib/python2.7\r\n/bio/linuxbrew/Cellar/cutadapt/1.8.1/libexec/lib/python2.7/site-packages\r\n```\r\nBut everytjing gets installed here (lib64):\r\n\r\n```\r\n/bio/linuxbrew/Cellar/cutadapt/1.8.1/libexec/lib64\r\n/bio/linuxbrew/Cellar/cutadapt/1.8.1/libexec/lib64/python2.7\r\n/bio/linuxbrew/Cellar/cutadapt/1.8.1/libexec/lib64/python2.7/site-packages\r\n/bio/linuxbrew/Cellar/cutadapt/1.8.1/libexec/lib64/python2.7/site-packages/cutadapt\r\n```\r\n\r\nAnd the wrapper script gets:\r\n\r\n```\r\nPYTHONPATH=\"/bio/linuxbrew/Cellar/cutadapt/1.8.1/libexec/lib/python2.7/site-packages\"\r\n```\r\n\r\nBut because it was put in ```lib64``` it doesn't work.\r\n\r\nAny ideas?\r\n"},"comment":{"url":"https://api.github.com/repos/Homebrew/linuxbrew/issues/comments/118328722","html_url":"https://github.com/Homebrew/linuxbrew/issues/443#issuecomment-118328722","issue_url":"https://api.github.com/repos/Homebrew/linuxbrew/issues/443","id":118328722,"user":{"login":"gawbul","id":321291,"avatar_url":"https://avatars.githubusercontent.com/u/321291?v=3","gravatar_id":"","url":"https://api.github.com/users/gawbul","html_url":"https://github.com/gawbul","followers_url":"https://api.github.com/users/gawbul/followers","following_url":"https://api.github.com/users/gawbul/following{/other_user}","gists_url":"https://api.github.com/users/gawbul/gists{/gist_id}","starred_url":"https://api.github.com/users/gawbul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gawbul/subscriptions","organizations_url":"https://api.github.com/users/gawbul/orgs","repos_url":"https://api.github.com/users/gawbul/repos","events_url":"https://api.github.com/users/gawbul/events{/privacy}","received_events_url":"https://api.github.com/users/gawbul/received_events","type":"User","site_admin":false},"created_at":"2015-07-03T11:53:17Z","updated_at":"2015-07-03T11:53:17Z","body":"I was having a read and noticed you can pass a `LIBnn` flag to configure, e.g. `./configure LIBnn=lib`. Would that work in this case?"}}