×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Mar 2008
    Posts
    57

    Bundling python dll (3rd)

    Hi

    I'd like to bundle the python runtime inside my application, for exclusive use by it. So I don't want a "python" entry in the app manager, and I don't want it to collide with possible other python installation on the phone.

    What are the steps involved? And will the python runtime suffer if I give it less capabilities (for example the self-signed six) ?

  2. #2
    Registered User
    Join Date
    Feb 2005
    Location
    Belgium (Europe)
    Posts
    1,352

    Re: Bundling python dll (3rd)

    Quote Originally Posted by nokia_e70 View Post
    Hi

    I'd like to bundle the python runtime inside my application, for exclusive use by it. So I don't want a "python" entry in the app manager, and I don't want it to collide with possible other python installation on the phone.
    The python entry is the Python shell app only ! So don't provide this app it's an easy solution

    Quote Originally Posted by nokia_e70 View Post
    What are the steps involved? And will the python runtime suffer if I give it less capabilities (for example the self-signed six) ?
    Never tried with less caps but it should work because Python shell self-signed works with only 5 caps ...

    Anyone ?

    BR
    Cyke64
    pys60 1.4.5 and 2.0.0, pygame, PyS60 CE on E90 and 5800 !

    Find my pys60 extension modules on cyke64.googlepages.com

  3. #3
    Regular Contributor
    Join Date
    Jan 2004
    Location
    Helsinki
    Posts
    376

    Lightbulb Re: Bundling python dll (3rd)

    Quote Originally Posted by nokia_e70 View Post
    Hi

    I'd like to bundle the python runtime inside my application, for exclusive use by it. So I don't want a "python" entry in the app manager, and I don't want it to collide with possible other python installation on the phone.

    What are the steps involved? And will the python runtime suffer if I give it less capabilities (for example the self-signed six) ?
    There will be several problems

    1) Python native module UIDs are hardcoded and owned by Nokia. You cannot publish 3rd ed. applications using them

    2) Python paths are hardcoded. You should probably stick your self-compiled Python under /private/[YOUR APP UID]

    3) Embedding Python app and boostrapping GUI in your own Symbian stub exe

    Basically the current PyS60 build chain should be replaced with some more advanced solution (Scons anyone?) which will allow custom paths and UIDs.

    I have been pondering with the idea to create a build chain to roll-out custom PyS60 distributions for some time now. If you are interested in to participate, please contact me.
    Mikko Ohtamaa

    http://mfabrik.com
    http://blog.mfabrik.com

Similar Threads

  1. Please help installing Python libraries on S60
    By ericroijen in forum Symbian
    Replies: 11
    Last Post: 2009-07-18, 10:43
  2. Replies: 2
    Last Post: 2007-12-14, 11:19
  3. Linking dll in S60 3rd edition - experts please help!
    By iulian_moldovan in forum Symbian Tools & SDKs
    Replies: 7
    Last Post: 2007-06-13, 18:41
  4. Porting a dll from S60 2nd to 3rd edition
    By johnsonme.public in forum Symbian
    Replies: 4
    Last Post: 2007-03-28, 21:18
  5. Python 3rd ed
    By Gigs_ in forum Symbian
    Replies: 1
    Last Post: 2006-05-30, 13:31

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×