On Thu, Jan 06, 2011 at 02:10:24PM +0530, Balbir Singh wrote:
> * Balbir Singh <bal...@linux.vnet.ibm.com> [2011-01-02 15:33:32]:
> 
> > The added bindings depend on swig and hence are disabled by
> > default. If you know what you are doing, enable the bindings
> > for python. To test the bindings, ensure _libcgroup.so
> > is copied in the same directory as libcgroup.py. There after
> > libcgroup API's can be invoked from python.
> > 
> > Please use --enable-bindings after installing swig to compile
> > with the changes
> > 
> > Signed-off-by: Balbir Singh <bal...@linux.vnet.ibm.com>
> 
> Would there be major objections to inclusion of this patch.
> The patches come with a WARNING
> 
> No API stability at the moment for the python bindings - it is
> still experimental and needs to be worked out.

i am not sure, why you used swig.
did you consider using ctypes ? you can write pure python bindings with
it. has the advantage, that you basically only distribute a python file.
no python build dep.

(swig has the advantage of not being python only though)

> 
> -- 
>       Three Cheers,
>       Balbir
> 
> ------------------------------------------------------------------------------
> Learn how Oracle Real Application Clusters (RAC) One Node allows customers
> to consolidate database storage, standardize their database environment, and, 
> should the need arise, upgrade to a full multi-node Oracle RAC database 
> without downtime or disruption
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> Libcg-devel mailing list
> Libcg-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/libcg-devel

-- 
torben Hohn

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Libcg-devel mailing list
Libcg-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libcg-devel

Reply via email to