×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    10

    Making a sis package with several py modules in 3rd ed

    Hi,

    I was trying to make a sis package that contains the main.py file and util1.py and util2.py. That should be self signed package. Using "ensymble py2sis" I was able to create the main.sis. Then i created utility.sis using "ensymble simplesis", and finally "ensymble mergesis" to make the final package. The problem seems to be in the utility.sis. I have tried to put util1.py and util2.py under !:\resource\ or !:\python\libs\ in a sis file, but had no success. I got "update error" during installing to the device.

    Have someone managed to install utility/library modules using Ensymble?

  2. #2
    Regular Contributor
    Join Date
    Sep 2005
    Location
    Finland, Helsinki
    Posts
    323

    Re: Making a sis package with several py modules in 3rd ed

    Quote Originally Posted by HANNU View Post
    I was trying to make a sis package that contains the main.py file and util1.py and util2.py. That should be self signed package. - - Have someone managed to install utility/library modules using Ensymble?
    Here is the command which I've been using to create SIS-packaged PlokIn:

    Code:
    /opt/local/bin/python ./bin/ensymble_python2.4-0.23.py py2sis --caps=LocalServices+NetworkServices+ReadUserData+UserEnvironment+WriteUserData --appname="PlokIn selfsigned" --version=0.1.570 --uid=0xfxxxxxxx --lang=FI --icon=plokin.svg --textfile=README_%C.txt sisdir/ plokin-r570-selfsigned.sis
    Notes:
    • sisdir/ contains default.py (=the main script) and included modules
    • --uid is messed in command above
    • lang, icon and textfile switches probably are not mandatory (consult esymble's documentation)
    • Check your ensymble and python path


    Directory structure probably does not fit any SIS-packaging standard, but at least it works.

  3. #3
    Registered User
    Join Date
    Mar 2003
    Posts
    10

    Re: Making a sis package with several py modules in 3rd ed

    Thanks, that solved my problem! It not not so clearly said in the documentation.

    Btw. Does anybody know if installing own libraries to "\resource" or "\python\libs\" is possible at all using self signed sis?

  4. #4
    Regular Contributor
    Join Date
    Apr 2007
    Location
    Lublin, Poland
    Posts
    81

    Re: Making a sis package with several py modules in 3rd ed

    In general - yes, most packages created by carbide.c++ (i.e., makesis.exe utility and selfsigned) copy their content to \sys\bin\ or \resource, so I guess any folder is accessible.
    However, I don't know if it's possible to tell ensymble destination folder(s). It'd be nice.
    whatever happens happens

  5. #5
    Regular Contributor
    Join Date
    Sep 2005
    Location
    Finland, Helsinki
    Posts
    323

    Re: Making a sis package with several py modules in 3rd ed

    Quote Originally Posted by janekw_ View Post
    I don't know if it's possible to tell ensymble destination folder(s).
    See section `The "simplesis" command´ in Ensymble's README:
    http://www.nbl.fi/~nbl928/README-0.23.txt

    There is something about it.

  6. #6
    Registered User
    Join Date
    Mar 2003
    Posts
    10

    Re: Making a sis package with several py modules in 3rd ed

    I was not able to install files to /resource etc. using "ensymble simplesis". I gave "update error" on device.

  7. #7
    Regular Contributor
    Join Date
    Sep 2005
    Location
    Finland, Helsinki
    Posts
    323

    Re: Making a sis package with several py modules in 3rd ed

    Quote Originally Posted by HANNU View Post
    I was not able to install files to /resource etc. using "ensymble simplesis". I gave "update error" on device.
    Hmm. I think I'm still going to put all files into a single folder (at least it works!) until someone finds out how to use /recourse etc. directories with ensymble. :-)

Similar Threads

  1. Script-level modules not allowed in 3rd Ed?
    By kevin_s2f in forum Symbian
    Replies: 6
    Last Post: 2007-07-05, 18:46
  2. Problem in making sis file in Carbide C++
    By Adeesh in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 5
    Last Post: 2006-10-02, 14:00
  3. Installing self-signed SIS files (3rd ed.)
    By ptrmn in forum Symbian Tools & SDKs
    Replies: 12
    Last Post: 2006-09-11, 13:08
  4. package MIDlet in a sis file
    By wfettich in forum Mobile Java General
    Replies: 0
    Last Post: 2005-01-20, 13:13
  5. JAR file to SIS package
    By kljajo in forum Mobile Java General
    Replies: 2
    Last Post: 2004-08-10, 09:23

Posting Permissions

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