From: Haejoong L. <hae...@un...> - 2002-02-14 17:24:51
|
> > I see. However, the package name "ag" is too big for it. How about > > "ag_tcl"? Does it need to be consistent with namespace name? > > That would be ok, the directory name is irrelevant, it just needs to be in a > sibling directory to the tcl one. How does the python package get installed? Currently, the python modules, ag.py and ag_python.so, are installed in $prefix/lib. (prefix = /usr/local, by default.) Kaz, one of AGTK developers, says that Python installation has a directory named as "site-packages". For example, in our file server, I can see the following directory: /pkg/P/Python-2.1.1/lib/python2.1/site-packages External packages can go to that directory. Python expose another mechanism to locate its packages; it reads an environment variable called "PYTHONPATH". Python searches directories in PYTHONPATH to locate the requested packages. I'm thinking about making the former a default option. Haejoong |