Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #96712

Re: Packaging and deployment of standalone Python applications?

Path csiph.com!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail
Return-Path <kawazu428@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.030
X-Spam-Evidence '*H*': 0.94; '*S*': 0.00; 'subject:Python': 0.05; 'binary': 0.05; 'python': 0.10; 'server,': 0.15; 'binaries': 0.16; 'dereference': 0.16; 'host:': 0.16; 'pfxlen:0': 0.18; 'say,': 0.18; 'to:2**1': 0.21; 'environments': 0.22; 'trying': 0.22; 'errors': 0.23; 'thanks,': 0.24; 'header:In-Reply-To:1': 0.24; 'header:User-Agent:1': 0.26; 'linux': 0.26; 'to:no real name:2**1': 0.27; 'host': 0.28; 'figured': 0.29; 'environment': 0.29; 'there.': 0.30; 'run': 0.33; 'url:python': 0.33; 'closely': 0.33; 'ubuntu': 0.33; 'message-id:@gmail.com': 0.34; 'received:google.com': 0.35; 'best,': 0.35; 'remote': 0.35; 'there': 0.36; 'url:org': 0.36; 'possible': 0.36; 'url:library': 0.36; 'to:addr:python-list': 0.36; 'subject:?': 0.36; 'subject:: ': 0.37; 'things': 0.38; 'version': 0.38; 'stuff': 0.38; 'end': 0.39; 'sure': 0.39; 'easily': 0.39; 'to:addr:python.org': 0.40; 'url:3': 0.60; 'close': 0.61; 'to,': 0.63; 'isolated': 0.84; 'skip:/ 30': 0.84; 'tied': 0.93
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=MOewX8dVULpWp3r3HwIVkCD3RaHVK5evHnNsaslH/5Q=; b=IinCPqxbH94MoNi9Ax8RSKSccDR4j8kRIYPKGMMHwfKGDk60pE+fuf9GGi9DtupACE ls6W0appwk9qP6+XS01w9ocELkJWuL3Bq/cLS2oDZoOAzFdJa+5/sA8lWa0N2Yds/u3H tfvCrezPKRRpcwQAlyKa4WKG9az8IVW6VjFb86OGkAUjh0nHILAOaO/nXY6+zrjR3Qv1 rY9ckEvg3v5CssSvIcr9NHA6zCKoKxYldlDSe8PuXFck1iJ2BZ62eYNwi3MafECH1UP6 DxzNt6mP2h1RlU0kIKgYwWaBndMEAfjidjWyxHmqxEHnNXNF1ZiArnkQ3zKV/YJ1yDUz B7xw==
X-Received by 10.180.184.201 with SMTP id ew9mr22795937wic.53.1442431765504; Wed, 16 Sep 2015 12:29:25 -0700 (PDT)
Subject Re: Packaging and deployment of standalone Python applications?
To paul.hermeneutic@gmail.com, python-list@python.org
References <7360db29-ba81-4b84-99eb-dbeca2a888b8@googlegroups.com> <CAJ4+4aqUh5hDis=31XxD2DS_mHv8q08zwFBAxG_NDThv-979Tw@mail.gmail.com>
From Kristian Rink <kawazu428@gmail.com>
Date Wed, 16 Sep 2015 21:29:23 +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 <CAJ4+4aqUh5hDis=31XxD2DS_mHv8q08zwFBAxG_NDThv-979Tw@mail.gmail.com>
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
X-Mailman-Approved-At Wed, 16 Sep 2015 21:40:14 +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 <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.662.1442432415.8327.python-list@python.org> (permalink)
Lines 21
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1442432415 news.xs4all.nl 23784 [2001:888:2000:d::a6]:40677
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:96712

Show key headers only | View raw


Am 15.09.2015 um 08:59 schrieb paul.hermeneutic@gmail.com:
>
> https://docs.python.org/3/library/venv.html?highlight=venv#module-venv

Thanks, this already is pretty close to what I need. Playing with this 
and virtualenv, I figured out that this way it's pretty easily possible 
to have isolated Python environments _locally_. However I failed to 
package one of these environments and move it to, say, from my Ubuntu 
development host to a remote Debian server, I end up with errors like 
these while trying to run the Python off the environment on that host:

/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found

I bundled all the stuff in the virtualenv and also made sure to 
dereference the symlinks in there. Are Python binaries so closely tied 
to a particular Linux environment / distribution that what I am about to 
do is impossible? Is there a "generic" Python for Linux binary that 
works on all distributions, as things are for Java?

TIA and all the best,
Kristian

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Packaging and deployment of standalone Python applications? Kristian Rink <kawazu428@gmail.com> - 2015-09-13 23:58 -0700
  Re: Packaging and deployment of standalone Python applications? dieter <dieter@handshake.de> - 2015-09-15 07:46 +0200
  Re: Packaging and deployment of standalone Python applications? Christian Gollwitzer <auriocus@gmx.de> - 2015-09-15 08:17 +0200
  Re: Packaging and deployment of standalone Python applications? marco.nawijn@colosso.nl - 2015-09-15 04:25 -0700
    Re: Packaging and deployment of standalone Python applications? Laura Creighton <lac@openend.se> - 2015-09-15 14:04 +0200
  Re: Packaging and deployment of standalone Python applications? Kristian Rink <kawazu428@gmail.com> - 2015-09-16 21:29 +0200
    Re: Packaging and deployment of standalone Python applications? Christian Gollwitzer <auriocus@gmx.de> - 2015-09-17 09:24 +0200
      Re: Packaging and deployment of standalone Python applications? Chris Angelico <rosuav@gmail.com> - 2015-09-17 17:38 +1000
  Re: Packaging and deployment of standalone Python applications? Laura Creighton <lac@openend.se> - 2015-09-17 00:19 +0200
  Re: Packaging and deployment of standalone Python applications? Kristian Rink <kawazu428@gmail.com> - 2015-09-17 08:23 +0200
  Re: Packaging and deployment of standalone Python applications? Laura Creighton <lac@openend.se> - 2015-09-17 11:06 +0200
  Re: Packaging and deployment of standalone Python applications? m <mvoicem@gmail.com> - 2015-09-17 12:39 +0200
  Re: Packaging and deployment of standalone Python applications? Kristian Rink <kawazu428@gmail.com> - 2015-09-17 12:36 +0200

csiph-web