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

Stefano Rivera stefanor at debian.org
Mon Nov 28 20:30:11 UTC 2011


Hi Nikolaus (2011.11.28_17:32:02_+0200)
> >> 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]
> 
> Yes.

If it's an arch-dependant package, that's a totally acceptable place to
put it. It may not be pretty, but it's not problematic.

> The scripts are generated by setuptools for the entry_points defined in
> setup.py and load the module using pkg_resources, so I don't think this
> is easily done.

Easy enough to write your own, instead :)

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