2009-08-22 21:45:22     python distutils (how to install a python module on 2009R1

Document created by Aaronwu Employee on Aug 18, 2013
Version 1Show Document
  • View in full screen mode

2009-08-22 21:45:22     python distutils (how to install a python module on 2009R1

dee lock (SINGAPORE)

Message: 79141   

 

Hi all

 

I need to install a python module.

 

The python included in 2009R1 does not include distutils.

 

Anyone know of a workaround to facilitate installation of python modules which expect distutils (i.e. python setup.py install)?

 

Is there a python dev install option that I missed?

 

cheers

 

-dee

QuoteReplyEditDelete

 

 

2009-08-22 22:21:40     Re: python distutils (how to install a python module on 2009R1

Mike Frysinger (UNITED STATES)

Message: 79142   

 

distutils doesnt make sense on the target, so including it with the distribution doesnt make sense either

 

python distutils is known to be screwed up wrt cross-compiling, so you'll have to build/install things manually

QuoteReplyEditDelete

 

 

2010-03-06 15:24:09     Re: python distutils (how to install a python module on 2009R1

Edwin Bland (UNITED STATES)

Message: 86913   

 

I've recently built a python extension module & for the time being have statically linked it to the python executable on the blackfin 561...  Functionally it's doing everything I've designed it to at this point.  However, I'd like to build it as a shared library & then link the python executable to the library.  Does anyone know if this is easily achievable?  I've looked through the examples in the python sub-modules for a small amount of time... but thought I'd ask the forum before spending much time on it.  I have a set of code someone else is writing that I want to link with & use the Python script as the master & just call through the extension module to whatever C library(s) I want.

 

Thanks in advance!

 

 

 

Edwin Bland,

 

Mansfield, TX

Attachments

    Outcomes