Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #55364
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <gvanem@yahoo.no> |
| 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; 'output': 0.05; 'debug': 0.07; 'subject:code': 0.07; "'.'": 0.09; 'subject:modules': 0.09; 'python': 0.11; 'assume': 0.14; '"michael': 0.16; '"python': 0.16; 'grep': 0.16; "module's": 0.16; 'module?': 0.16; 'wrote:': 0.18; 'code.': 0.18; 'command': 0.22; 'x-mailer:microsoft outlook express 6.00.2900.5931': 0.24; 'fine': 0.24; 'source': 0.25; 'extension': 0.26; 'pass': 0.26; 'to:2**1': 0.27; "doesn't": 0.30; "i'm": 0.30; 'code': 0.31; 'subject:that': 0.31; 'run': 0.32; 'linux': 0.33; 'subject:from': 0.34; 'there': 0.35; 'to:addr :python-list': 0.38; 'to:addr:python.org': 0.39; 'how': 0.40; 'manually': 0.60; 'mentioned': 0.61; 'to:addr:gmail.com': 0.65; 'from:addr:yahoo.no': 0.84; 'received:98.138.226.132': 0.84; 'subject:source': 0.84; 'received:98.138.226': 0.93 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.no; s=s1024; t=1380734127; bh=CJF+kzq/Q9ERP9tb7qAogV2BKiQ6yLmwZoCA0pNBlfA=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Message-ID:From:To:References:Subject:Date:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Priority:X-MSMail-Priority:X-Mailer:X-MIMEOLE; b=PS0KW0zmSnjP4QBZ1wR+EcDrAQJ+gawajCnhbjRwwuwkibL6mhDpcEs/fRnf3aL3NahlL9+nOPHJ0RnXDUWkvxvF9aslywVhtW6xtDJWaGMGc2ZQVtJB/I+n9SQJe8FNn61+Sg76fZHz3nXsywHBEU4YpVg7UcWq7Vn9PB+P8mg= |
| X-Yahoo-Newman-Id | 246059.9269.bm@smtp219.mail.ne1.yahoo.com |
| X-Yahoo-Newman-Property | ymail-3 |
| X-YMail-OSG | mxexMPYVM1ncHehRe24yTMslZXEF1C2iqdnVdM8R_YsQyJG TxK_WOELQ5yFR1xW5U3WWfS.gUC3DYoKHvCNb.R8FStpdmM0D0bN48EXjmjN T147cVa3h5cj5JDD3dwDp0_eDGDW2hsbR8BmBiIsJYyb5n75s2dQvFA6j4cN Io9577_q7mGW_QCPSpFyutsjkeAXGPnKIU4we0U..NnATxdExG9gjFH4Dhzh qb61BtwV2nuFNmrEnp_s_p5nQsBWkk5Um1w76Yw0y30GS5VCgC7JOky4SIdy ylYMupwXH250ZTXP_xExYmpsAYjVGlwbQ.ZUj2XPmfnYx32Ah6.Jso4kXcTF ciB8bLufW4M2_l5IXXy2VqQ._.0s8AcobyeuOSjNvpU9bWbifeXUo8Qh9dKg j8cZj5e8TkVSJyvj8LbRySBPc0rb2k7aSgpRwZEnTfUlvtj8hQehHjqst2KH ECap_XkoTqHVIywW6FfU7XtS8c39FdlZdp6LKk8om85s2gnkp2dC954CqOP5 zNmdZOHzEapUxkfmhUubcua6MwUc1saBj6W08xlzSg7kEoD1_C_t45jkXSlG tBGHy72x794neVMUFcDrkmlXnIcCXW.9Q |
| X-Yahoo-SMTP | 8zhYLGyswBB3AGU8c4pvFIFOfA-- |
| X-Rocket-Received | from SNURRE (gvanem@108.171.112.185 with ) by smtp219.mail.ne1.yahoo.com with SMTP; 02 Oct 2013 10:15:27 -0700 PDT |
| From | "Gisle Vanem" <gvanem@yahoo.no> |
| To | "Michael Schwarz" <michi.schwarz@gmail.com>, <python-list@python.org> |
| References | <CABdB9Z4rvKmO0bdZrmBd4Cy6b1OJyzkFMNpwmrR=k55J1X39wg@mail.gmail.com> |
| Subject | Re: Running code from source that includes extension modules |
| Date | Wed, 2 Oct 2013 19:15:31 +0200 |
| MIME-Version | 1.0 |
| Content-Type | text/plain; format=flowed; charset="utf-8"; reply-type=original |
| Content-Transfer-Encoding | 7bit |
| X-Priority | 3 |
| X-MSMail-Priority | Normal |
| X-Mailer | Microsoft Outlook Express 6.00.2900.5931 |
| X-MIMEOLE | Produced By Microsoft MimeOLE V6.00.2900.6157 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| 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.642.1380734259.18130.python-list@python.org> (permalink) |
| Lines | 13 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1380734259 news.xs4all.nl 15885 [2001:888:2000:d::a6]:39170 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:55364 |
Show key headers only | View raw
"Michael Schwarz" <michi.schwarz@gmail.com> wrote: > So how do I run my code so it will find the built extension module? Do I > pass the output directory on the command line manually or is there some > other solution? I would like to still be able to run the code from the > source directory as I'm using PyCharm to edit and debug the code. Doesn't Python on Linux (I assume that since you mentioned the module's .so) support having current-dir '.' in $PYTHONPATH? Works fine on Windows. Check with "python -v script.py | grep <your .so>". --gv
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Running code from source that includes extension modules "Gisle Vanem" <gvanem@yahoo.no> - 2013-10-02 19:15 +0200
csiph-web