Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #55364 > unrolled thread
| Started by | "Gisle Vanem" <gvanem@yahoo.no> |
|---|---|
| First post | 2013-10-02 19:15 +0200 |
| Last post | 2013-10-02 19:15 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Running code from source that includes extension modules "Gisle Vanem" <gvanem@yahoo.no> - 2013-10-02 19:15 +0200
| From | "Gisle Vanem" <gvanem@yahoo.no> |
|---|---|
| Date | 2013-10-02 19:15 +0200 |
| Subject | Re: Running code from source that includes extension modules |
| Message-ID | <mailman.642.1380734259.18130.python-list@python.org> |
"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 top | Article view | comp.lang.python
csiph-web