[Distutils] distutils 101 question...

Venkat Bommakanti venkatbo at yahoo.com
Fri Sep 15 18:07:28 CEST 2006

Hi folks,

On i686 Linux, I would like to place my python 
modules as:
and use the cmd from <base_dire>:
   ...base_dir]$  python   src/py-modules/setup.py  
                  install  --prefix=<base_dir>/usr
so the .py files and the corresponding compiled .pyc 
files are at:

Its unclear from the documentation, how I could 
specify the location of the *.py files, ie:
in the installation command:
   ...base_dir]$  python   src/py-modules/setup.py  
                  install  --prefix=<base_dir>/usr

I can specify the destination of the module/compiled 
files, but how do I specify the the path to the .py 
files. I get the "file not found error".

Of course, if I cd to:
and run the command, its able to find all the modules 
listed in setup.py:py_modules[.....] entry.

This is one among many other modules (C/py) being 
built while at the <base_dir>, as part of the build
of the entire project...


Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

More information about the Distutils-SIG mailing list