Re: How to install local module other than in "site-packages"?

2010-01-18 Thread Jive Dadson
Thankee. I had just figgered that out. I wrote everything up in a message titled "The answer," but I accidentally created a new thread with it. I'll post it in this thread. -- http://mail.python.org/mailman/listinfo/python-list

Re: How to install local module other than in "site-packages"?

2010-01-17 Thread Benjamin Kaplan
On Sun, Jan 17, 2010 at 8:09 PM, Jive Dadson wrote: > Okay, I might go this route anyway.  It's almost working. > > I created a directory (folder in MS-speak) named Modules, and put its path > in the PYTHONPATH env variable. > > I can now put a file foo.py into the directory Modules, and it will l

Re: How to install local module other than in "site-packages"?

2010-01-17 Thread Jive Dadson
Okay, I might go this route anyway. It's almost working. I created a directory (folder in MS-speak) named Modules, and put its path in the PYTHONPATH env variable. I can now put a file foo.py into the directory Modules, and it will load foo.py when I say "import foo." Now I put a folder in

Re: How to install local module other than in "site-packages"?

2010-01-17 Thread Jive Dadson
Diez B. Roggisch wrote: Did "echo %PYTHONPATH%" yield anything? Or is it part of >>> import sys >>> sys.path ? Diez Update: It's working now. I guess I hadn't reloaded something that I need to. Thanks for your help. -- http://mail.python.org/mailman/listinfo/python-list

Re: How to install local module other than in "site-packages"?

2010-01-17 Thread Jive Dadson
Diez B. Roggisch wrote: Did "echo %PYTHONPATH%" yield anything? Or is it part of >>> import sys >>> sys.path ? Diez Yes and no in that order. Never mind. Ben Fenny talked me out of it anyway. Gr. -- http://mail.python.org/mailman/listinfo/python-list

Re: How to install local module other than in "site-packages"?

2010-01-17 Thread Jive Dadson
Ben Finney wrote: Jive Dadson writes: How do I install a module that I wrote, without putting it in the site-packages directory for a specific release? I have stuff that, to the best of my knowledge and belief, ought to work under any release. Nevertheless, the compiled byte-code version

Re: How to install local module other than in "site-packages"?

2010-01-17 Thread Diez B. Roggisch
Am 18.01.10 01:33, schrieb Jive Dadson: Diez B. Roggisch wrote: Am 18.01.10 01:07, schrieb Jive Dadson: (My apologies if this question shows up twice. I posted it quite a while ago, and it's yet to show up.) This is no doubt a beginner's question, but I've searched for the answer for quite a w

Re: How to install local module other than in "site-packages"?

2010-01-17 Thread Ben Finney
Jive Dadson writes: >How do I install a module that I wrote, without putting it in the > site-packages directory for a specific release? I have stuff that, to > the best of my knowledge and belief, ought to work under any release. Nevertheless, the compiled byte-code version will be specifi

Re: How to install local module other than in "site-packages"?

2010-01-17 Thread Jive Dadson
Diez B. Roggisch wrote: Am 18.01.10 01:07, schrieb Jive Dadson: (My apologies if this question shows up twice. I posted it quite a while ago, and it's yet to show up.) This is no doubt a beginner's question, but I've searched for the answer for quite a while, to no avail. I'm running Python

Re: How to install local module other than in "site-packages"?

2010-01-17 Thread Diez B. Roggisch
Am 18.01.10 01:07, schrieb Jive Dadson: (My apologies if this question shows up twice. I posted it quite a while ago, and it's yet to show up.) This is no doubt a beginner's question, but I've searched for the answer for quite a while, to no avail. I'm running Python 2.6 under Windows XP. Ho

How to install local module other than in "site-packages"?

2010-01-17 Thread Jive Dadson
(My apologies if this question shows up twice. I posted it quite a while ago, and it's yet to show up.) This is no doubt a beginner's question, but I've searched for the answer for quite a while, to no avail. I'm running Python 2.6 under Windows XP. How do I install a module that