[Tutor] Module Files Placement?

Curtis Larsen curtis.larsen@Covance.Com
Tue, 18 Dec 2001 10:03:03 -0600

Ahhh... THAT's where they go.

Thanks for the "distutils" mention too -- I haven't used it at all
heretofore, so I'll check it out.  (Hopefull it can be found on all
platforms?)  Aside from a collection of modules as an app, the thing
I've had problems with are the "onesy-twosy" types of modules/scripts
that you find and what to use -- but can't quite determine the best
place to put them.


>>> Danny Yoo <dyoo@hkn.eecs.berkeley.edu> 12/18/2001 2:08:27 AM >>>
On Mon, 17 Dec 2001, Curtis Larsen wrote:

> What is the accepted standard on adding third-party modules to your
> Python installation?  (Where do you put the files?)  Even though
> pretty much anywhere in PYTHONPATH would work, there has to be a
> system of some kind (a "/usr/local/bin" if you will) to keep them
> accessible, yet separate -- including all the extra modules THEY
> in turn call.

External modules should live in a 'site-packages' directory underneath
Python's lib directory.

For example, on my computer, it's located here:


Out of curiosity though: are you trying to install a module?  The
"distutils" are a set of tools to make installing new modules fairly
automatic.  Third parties often use the distutils to more easily make
installation script that works.

Tutor maillist  -  Tutor@python.org 

Confidentiality Notice: This e-mail transmission 
may contain confidential or legally privileged 
information that is intended only for the individual 
or entity named in the e-mail address. If you are not 
the intended recipient, you are hereby notified that 
any disclosure, copying, distribution, or reliance 
upon the contents of this e-mail is strictly prohibited. 

If you have received this e-mail transmission in error, 
please reply to the sender, so that we can arrange 
for proper delivery, and then please delete the message 
from your inbox. Thank you.