Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #19719
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!newsgate.cistron.nl!newsgate.news.xs4all.nl!194.109.133.85.MISMATCH!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <andrea.crotti.0@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.024 |
| X-Spam-Evidence | '*H*': 0.95; '*S*': 0.00; 'python': 0.08; 'setup.py': 0.09; 'subdirectory': 0.09; 'cc:addr:python-list': 0.15; 'compileall': 0.16; 'executable.': 0.16; 'subject:package': 0.16; 'subject:pypi': 0.16; 'sudo': 0.16; 'wrote:': 0.16; 'insert': 0.19; 'cc:no real name:2**0': 0.21; 'header:In-Reply-To:1': 0.22; 'assumes': 0.23; 'byte': 0.24; 'cc:2**0': 0.25; 'code': 0.25; '(in': 0.26; 'code.': 0.26; 'pm,': 0.26; 'testing': 0.26; 'compile': 0.28; 'cc:addr:python.org': 0.29; "'build'": 0.30; '(depending': 0.30; 'tar': 0.30; 'version': 0.31; 'received:209.85.214': 0.32; 'message-id:@gmail.com': 0.33; 'header:User-Agent:1': 0.33; 'try:': 0.34; 'probably': 0.35; 'install': 0.35; 'but': 0.37; 'received:google.com': 0.37; 'another': 0.37; 'could': 0.37; 'some': 0.38; 'received:209.85': 0.38; 'easier': 0.38; 'fail': 0.38; 'files': 0.39; 'received:209': 0.39; 'subject:: ': 0.39; 'hope': 0.61; 'your': 0.61; 'works,': 0.68; "'install'": 0.84; 'easy_install': 0.84; 'steps.': 0.93 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=oC5P+7dzLWClOOlmHCMiogltZC2Xdb5EdhjWatGUr5w=; b=gvktoknvtQV5M1zFsf561PodZpmvr80TEf/kqSnF0hHvFnipeLeY4QnUSh1A2oejvi dOFFZa1DuVizgd4P0FkHQ/aDe+ddYFCt+MmI3tMvCv39377uiyNbEWXXAAyw2xmrS5R5 PiDb3CCWritmlPsXOVhD/ItGB0FkQbGpq3HyI= |
| Date | Wed, 01 Feb 2012 16:54:52 +0000 |
| From | Andrea Crotti <andrea.crotti.0@gmail.com> |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111224 Thunderbird/9.0.1 |
| MIME-Version | 1.0 |
| To | Hans Mulder <hansmu@xs4all.nl> |
| Subject | Re: Installing pypi package twice |
| References | <mailman.5286.1328076275.27778.python-list@python.org> <4f296d35$0$6891$e4fe514c@news2.news.xs4all.nl> |
| In-Reply-To | <4f296d35$0$6891$e4fe514c@news2.news.xs4all.nl> |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| Cc | python-list@python.org |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://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 | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.5305.1328115297.27778.python-list@python.org> (permalink) |
| Lines | 28 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1328115297 news.xs4all.nl 6894 [2001:888:2000:d::a6]:59833 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:19719 |
Show key headers only | View raw
On 02/01/2012 04:49 PM, Hans Mulder wrote: > > How about (in another directory): > > $ tar xzf package.tar.gz > $ cd package > $ /opt/python/bin/python setup.py build > $ sudo /opt/python/bin/python setup.py install > > This assumes that /opt/python/bin/python is your python3.2 executable. > > You may want to insert some testing between the 'build' and 'install' > steps. Or you could try: > > $ /opt/python/bin/python -m compileall build/lib > > That would try to compile all Python files in the subdirectory to byte > code. That's likely to fail if the Python code is not valid Python 3. > If it compiles, you may still want to do some testing. > > Hope this helps, > > -- HansM That works, but it's probably easier to (depending on your needs): - install easy_install / pip for that python version - use virtualenv
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Installing pypi package twice Jason Friedman <jason@powerpull.net> - 2012-02-01 06:04 +0000
Re: Installing pypi package twice Hans Mulder <hansmu@xs4all.nl> - 2012-02-01 17:49 +0100
Re: Installing pypi package twice Andrea Crotti <andrea.crotti.0@gmail.com> - 2012-02-01 16:54 +0000
csiph-web