On Monday, December 02, 2013 03:25:01 PM Jörgen Maas wrote:
> Hi Michael,
> 
> Looking forward to your contributions!
> I think it's best to target master; just send pull requests and i will
> review/merge.
> 
> There will be an 2.4.1 which should provide a fix for a performance
> regression (in cobbler sync).
> All other non disruptive changes in master are probably merged too.

Then i will try to push all small changes as fast as possible.

But i have a bunch of a bit more involved changes to the buildsystem (because 
virtualenv support 
requires installing the python modules somewhere else then /usr) which i think 
will have to wait a 
bit. Locally i have it working but it requires still one manual patch after 
installation. Not yet sure 
how to solve that.

The problem is that both wsgi files have to get this code to activate the 
virtualenv support. But 
that code is naturally not needed when installing the normal way. And its 
impossible to determine 
the path inside the script. The path has to be known at that place. Perhaps a 
environment var in 
cobbler_web.conf and cobbler.conf?

import site
import distutils.sysconfig
PYTHONENV="<the virtualenv>"
site.addsitedir(distutils.sysconfig.get_python_lib(prefix=PYTHONENV))

Not yet sure how to get that working. The rest works like a charm.

Mike




_______________________________________________
cobbler-devel mailing list
cobbler-devel@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler-devel

Reply via email to