Path: csiph.com!eternal-september.org!feeder.eternal-september.org!border1.nntp.ams1.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.007 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:Python': 0.05; 'binary': 0.05; 'distributing': 0.07; 'statically': 0.07; 'cc:addr :python-list': 0.09; 'option:': 0.09; 'advance': 0.10; 'python': 0.10; 'interpreter': 0.15; '"just"': 0.16; '(say': 0.16; 'paths.': 0.16; 'places.': 0.16; 'laura': 0.18; 'say,': 0.18; 'all,': 0.20; 'library': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'machine': 0.21; 'java': 0.22; 'cc:no real name:2**0': 0.22; 'header:In-Reply-To:1': 0.24; 'header:User-Agent:1': 0.26; 'installed': 0.26; 'distribute': 0.27; 'issues.': 0.29; 'received:192.168.10': 0.29; 'option': 0.31; 'getting': 0.33; 'problem': 0.33; 'ubuntu': 0.33; 'message-id:@gmail.com': 0.34; 'received:google.com': 0.35; 'best,': 0.35; 'downloads': 0.35; 'something': 0.35; 'but': 0.36; 'there': 0.36; 'subject:?': 0.36; 'subject:: ': 0.37; 'really': 0.37; 'thanks': 0.37; 'thought': 0.37; 'seem': 0.37; 'version': 0.38; 'or,': 0.38; 'shared': 0.38; 'why': 0.39; 'sure': 0.39; 'received:192': 0.39; 'your': 0.60; 'real': 0.62; 'charset:windows-1252': 0.62; 'more': 0.63; 'different': 0.63; 'to,': 0.63; 'itself?': 0.84; 'off,': 0.84; 'popular.': 0.84; 'comment.': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=32vcJyZQ+yKgcjleCjywWaJ8axZp+0/UPQoiTNAr19E=; b=HCfm0SmCDCAxKW1sDyjYSXWdcxKFkWPRQi3ux31MeffkmyoVWjxOhB2E5G1ipYzjrf Wb12FobHhTQwefREp5XyDCiuU8xtSN2tU5GInIqJTD5GStyL1jYNAIZUP4lv1jgVIn1e gkYGE4qVt6mnlLDvI/Rq02TINWd+lzZ9Wav8YgAvumJokOj8A1G1ctcgu9ZhDyJGRHc7 GeY/BW6ERJExxEwpw+l4RfK71CkoPDHcoKdvi08GgktnHuFNfaCXkKB7YkMhzBPuHrBD luUqNIw89Oepm5POJjun1Km/2X1SmnHmQJmxUE8wOA0ksH4Mn3RFfD+M3HF+lse3WdBh QSSw== X-Received: by 10.180.240.172 with SMTP id wb12mr26501143wic.64.1442471033785; Wed, 16 Sep 2015 23:23:53 -0700 (PDT) Subject: Re: Packaging and deployment of standalone Python applications? To: Laura Creighton References: <7360db29-ba81-4b84-99eb-dbeca2a888b8@googlegroups.com> <55F9C313.8040202@gmail.com> <201509162219.t8GMJQeI024717@fido.openend.se> Cc: python-list@python.org From: Kristian Rink Date: Thu, 17 Sep 2015 08:23:52 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <201509162219.t8GMJQeI024717@fido.openend.se> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Thu, 17 Sep 2015 09:07:08 +0200 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 28 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1442473629 news.xs4all.nl 23859 [2001:888:2000:d::a6]:54223 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:96749 Hi Laura; and first off, thanks bunches for your comment. Am 17.09.2015 um 00:19 schrieb Laura Creighton: > > Your problem is likely with the shared library search paths. > Different distributions put them in different places. It's a real > pain, and the reason why docker is getting more popular. Well I thought something like this but then again wondered whether this really would be the cause - after all, Thunderbird, Firefox, OpenOffice, Java and a bunch of other applications that are available as "binary" downloads for "generic Linux" do seem to work on RedHat/CentOS, Debian, Ubuntu without these issues. Are these all statically built? Would this be an option for distributing Python applications, as well? Or, other option: Would it work to, say, use venv, make sure there always is a Python of the same version on the target machine installed (say 3.4), and then distribute "just" the python parts without including the interpreter / binary itself? Thanks in advance and all the best, Kristian