[Python-apps-team] Where to install C extensions?

Stefano Rivera stefanor at debian.org
Sun Nov 27 22:55:35 UTC 2011


Hi Nikolaus (2011.11.27_22:50:39_+0200)
> I have an application that installs a (private) extension module. How is
> this best handled?
> 
> If I change --install-lib to /usr/share/[package], I get lots of .py
> files there, which does not seem nice either.

I assume you mean /usr/lib/[package]

> Are there any better options?

Modify sys.path in your scripts?

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127



More information about the Python-apps-team mailing list