mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] Python module installation on target
@ 2014-09-05  5:12 Arpit Jain (RBEI/EEB2)
  2014-09-05  7:21 ` Juergen Borleis
  0 siblings, 1 reply; 3+ messages in thread
From: Arpit Jain (RBEI/EEB2) @ 2014-09-05  5:12 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 354 bytes --]

Hi,

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 )

Thanks & Regards,
Arpit Jain


[-- Attachment #1.2: Type: text/html, Size: 1147 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ptxdist] Python module installation on target
  2014-09-05  5:12 [ptxdist] Python module installation on target Arpit Jain (RBEI/EEB2)
@ 2014-09-05  7:21 ` Juergen Borleis
  2014-09-05  7:54   ` Alexander Aring
  0 siblings, 1 reply; 3+ messages in thread
From: Juergen Borleis @ 2014-09-05  7:21 UTC (permalink / raw)
  To: ptxdist; +Cc: Arpit Jain (RBEI/EEB2)

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.

Happy hacking
Juergen

-- 
Pengutronix e.K.                              | Juergen Borleis             |
Industrial Linux Solutions                    | http://www.pengutronix.de/  |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ptxdist] Python module installation on target
  2014-09-05  7:21 ` Juergen Borleis
@ 2014-09-05  7:54   ` Alexander Aring
  0 siblings, 0 replies; 3+ messages in thread
From: Alexander Aring @ 2014-09-05  7:54 UTC (permalink / raw)
  To: ptxdist; +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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-09-05  7:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-05  5:12 [ptxdist] Python module installation on target Arpit Jain (RBEI/EEB2)
2014-09-05  7:21 ` Juergen Borleis
2014-09-05  7:54   ` Alexander Aring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox