From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-we0-x22f.google.com ([2a00:1450:400c:c03::22f]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1XPoLm-0005Yv-0u for ptxdist@pengutronix.de; Fri, 05 Sep 2014 09:54:30 +0200 Received: by mail-we0-f175.google.com with SMTP id k48so11328106wev.34 for ; Fri, 05 Sep 2014 00:54:24 -0700 (PDT) Date: Fri, 5 Sep 2014 09:54:21 +0200 From: Alexander Aring Message-ID: <20140905075419.GC23258@omega> References: <1E1C5F3DC9DD9B4AB888EF7E987E35F81A38652650@SGPMBX02.APAC.bosch.com> <201409050921.36527.jbe@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <201409050921.36527.jbe@pengutronix.de> Subject: Re: [ptxdist] Python module installation on target Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Cc: "Arpit Jain (RBEI/EEB2)" Hi Juergen, On Fri, Sep 05, 2014 at 09:21:36AM +0200, Juergen Borleis wrote: > Hi Arpit, > > On Friday 05 September 2014 07:12:20 Arpit Jain (RBEI/EEB2) wrote: > > I have a python module which comes with setup.py, how can I install this > > module on target ? Running python setup.py install on target won't work as > > install tools are not available with python installed on board. > > > > The module I am trying to install is pyOwnCloud > > (https://github.com/csawyerYumaed/pyOwnCloud ) > > You should take a look how PTXdist builds the other available Pythons modules > like python-django, python-imaging, pyserial.make and others. Just search for > the string "setup.py" in the rulses/ directory of PTXdist to find the > corresponding rule files. > I gave a look into this. This looks more like a python c binding module for libosync. Don't know if this is install lib and then the python module only, or you need to cross compile some native python "libwrapper" modules like in Cython. To Arpit: You need 100% the libosync. What I understand this library is part of [0]. And this is cmake (Running away from that). Okay no jokes, I never was familiar with cmake, that's why I don't like it. Maybe you should try to add first a packages for libosync, then check for pyOwnCloud. - Alex [0] https://github.com/owncloud/mirall -- ptxdist mailing list ptxdist@pengutronix.de