Hello, I got the OpenDX Python wrapper from Randall Hopper and asked him why the .so wrapping the DX library ends up not int he package directory but in $exec_prefix/lib/python/site-packages. His answer was that this is where distutil puts it. I feel that it would nicer to have the .so along with all other files of the package in $exec_prefix/lib/python/site-packages/DX. Is there a way to specify this in setup.py ? -Michel -- -----------------------------------------------------------------------
>>>> AREA CODE CHANGE <<<<<<<<< we are now 858 !!!!!!!
Michel F. Sanner Ph.D. The Scripps Research Institute Assistant Professor Department of Molecular Biology 10550 North Torrey Pines Road Tel. (858) 784-2341 La Jolla, CA 92037 Fax. (858) 784-2860 sanner@scripps.edu http://www.scripps.edu/sanner -----------------------------------------------------------------------
On 23 June 2000, Michel Sanner said:
I got the OpenDX Python wrapper from Randall Hopper and asked him why the .so wrapping the DX library ends up not int he package directory but in $exec_prefix/lib/python/site-packages.
If you name an extension "foo" (no dots) it winds up in site-packages/foo.so.
I feel that it would nicer to have the .so along with all other files of the package in $exec_prefix/lib/python/site-packages/DX.
Then the extension should be named "DX.foo" -- IOW, the package of an extension is unrelated to the package of any pure Python modules in the same distribution, unless you explicitly make them the same. (This is a feature, but I don't think it's documented yet.) Greg -- Greg Ward - just another Python hacker gward@python.net http://starship.python.net/~gward/ I once decorated my apartment entirely in ten foot salad forks!!
participants (2)
-
Greg Ward
-
Michel Sanner