Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #28026
| Path | csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <nataliabidart@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.000 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'cache': 0.05; '21,': 0.07; '[0]': 0.07; 'pypy': 0.07; 'setup.py': 0.07; 'subject: + ': 0.07; 'python': 0.09; '(use': 0.09; 'descriptor': 0.09; 'skipping': 0.09; 'cc:addr:python-list': 0.10; 'aug': 0.13; ':-)': 0.13; 'received:74.125.82.44': 0.15; '(when': 0.16; '2.7.2': 0.16; 'packages:': 0.16; 'pypy?': 0.16; 'skip:/ 70': 0.16; 'storing': 0.16; 'subject:pypy': 0.16; 'web)': 0.16; 'wrote:': 0.17; 'pfxlen:0': 0.17; 'app': 0.19; 'import': 0.21; '2.x': 0.22; 'gcc': 0.22; 'cheers,': 0.23; 'installation': 0.23; 'cc:2**0': 0.23; 'installed': 0.23; 'seems': 0.23; 'downloaded': 0.24; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply- To:1': 0.25; 'easiest': 0.27; 'installing': 0.27; 'message- id:@mail.gmail.com': 0.27; '>>>>': 0.29; 'skip:( 50': 0.29; 'skip:/ 80': 0.29; 'this.': 0.29; 'install': 0.29; 'knows': 0.30; '(from': 0.30; 'distribute': 0.30; 'running': 0.32; 'info': 0.32; 'received:74.125.82': 0.33; 'cleaning': 0.33; 'anyone': 0.33; 'skip:d 20': 0.34; "can't": 0.34; 'received:google.com': 0.34; 'so,': 0.35; 'pm,': 0.35; 'something': 0.35; 'there': 0.35; 'received:74.125': 0.36; 'skip:p 20': 0.36; 'possible': 0.37; 'subject:: ': 0.38; 'header:Received:5': 0.40; 'more': 0.63; 'url:blogspot': 0.64; 'confirm': 0.64; 'url:ar': 0.65; 'satisfied': 0.83; 'skip:/ 120': 0.84 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=JOaw6mqoly/2MdIsEWvKk4BJyAaDvd7My1tWSLR7RqE=; b=xq1HvDY2Gv8W0y0fvhn3DjJ52Z7S7JzTZ7mH3iwU9h2aLi9yF0pRq9pfDTtznU9vPf XSVDsT+DgCShdaW2BWjlvOekUQefPp8HNNJnkZeyd3KPlljIT4Iy+wg5xlXsXID0eaXC fpD6HQ+npevSW/O5lxQyalhu2nx4GW9CTNELIWOdLTQcKSBbYAVhztK3G6w3CQ/H8dlD zNX2RFOFkgupziV5RU/e3MufBD5PdrODCg9gShWNfD2tYBCGAbj47eqi8im2ht9CdHDf 8kWCoZyzPc4ONXcy5TU5KHUiaeN7aOpJtmXMfDLKkGpG5X/zjuVEWce7ARJdWt81h5Ab gPBA== |
| MIME-Version | 1.0 |
| In-Reply-To | <CAC_CU1hztWNS1NBVEFeShxGvH1um6gWEHVh40pRY+Q5uO4aP4Q@mail.gmail.com> |
| References | <CAC_CU1hztWNS1NBVEFeShxGvH1um6gWEHVh40pRY+Q5uO4aP4Q@mail.gmail.com> |
| From | Natalia Bidart <nataliabidart@gmail.com> |
| Date | Tue, 28 Aug 2012 19:01:14 -0300 |
| Subject | Re: protobuf + pypy |
| To | Pedro Larroy <pedro.larroy.lists@gmail.com> |
| Content-Type | text/plain; charset=ISO-8859-1 |
| 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.3904.1346191296.4697.python-list@python.org> (permalink) |
| Lines | 43 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1346191296 news.xs4all.nl 6882 [2001:888:2000:d::a6]:42116 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:28026 |
Show key headers only | View raw
On Tue, Aug 21, 2012 at 6:55 PM, Pedro Larroy
<pedro.larroy.lists@gmail.com> wrote:
> Hi
>
> Anyone knows if it's possible to use protobuffers with pypy? Seems
> there isn't much info on the web about this.
So, in my experience, the easiest way to confirm if something works
with PyPy (when you can't find proper bibliography in the web) is to
try to install it in a pypy virtualenv [0]:
(my-pypy-env)nessita@dali:~/projects/pypy/my-pypy-env$ pip install protobuf
Downloading/unpacking protobuf
Downloading protobuf-2.4.1.tar.gz (56Kb): 56Kb downloaded
Storing download in cache at
/home/nessita/.pip_download_cache/http%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2Fp%2Fprotobuf%2Fprotobuf-2.4.1.tar.gz
Running setup.py egg_info for package protobuf
Requirement already satisfied (use --upgrade to upgrade): distribute
in ./site-packages/distribute-0.6.24-py2.7.egg (from protobuf)
Installing collected packages: protobuf
Running setup.py install for protobuf
Skipping installation of
/home/nessita/projects/pypy/my-pypy-env/site-packages/google/__init__.py
(namespace package)
Installing /home/nessita/projects/pypy/my-pypy-env/site-packages/protobuf-2.4.1-py2.7-nspkg.pth
Successfully installed protobuf
Cleaning up...
(my-pypy-env)nessita@dali:~/projects/pypy/my-pypy-env$ pypy
Python 2.7.2 (341e1e3821ff, Jun 07 2012, 15:38:48)
[PyPy 1.9.0 with GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
And now for something completely different: ``Python 2.x is not dead''
>>>> from google.protobuf import descriptor
Seems to work :-) (though I have no app using it right now).
Cheers, Natalia.
[0] Instructions on how to create a PyPy virtualenv:
http://morepypy.blogspot.com.ar/2010/08/using-virtualenv-with-pypy.html
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: protobuf + pypy Natalia Bidart <nataliabidart@gmail.com> - 2012-08-28 19:01 -0300
csiph-web