Version 3 (modified by Martin Kolman, 14 years ago) (diff)


How did I create the packages

  • I used py2deb in scratchbox
  • modified the py2deb file in /usr/lib/python2.5/site-packages/ (in scratchbox)
    • fixed the bugtracker issue
    • modified the build depends:
      # ADDED for building modRana
      Build-Depends: debhelper (>= 5), python-support
    • modified the "build architecture independent files section"
      # Build architecture-independent files here.
      binary-indep: build install
      # We have nothing to do by default.
      	dh_pysupport /opt/modrana # its important to add path to the main application folder
    • fixed the USERNAME environmental variable not found issue (caused by py2deb) in the ./ script:
      import os
    • made sure there is #DEBHELPER# in the postinst script
    • set correct file and folder permissions for the different modRana folders and files

Example build script: Example modified