4

I have made a small software using PySide, a GUI library for python using Qt. I have successfully built it into an executable for Ubuntu. http://download.ueseo.org/sitemap-creator/SitemapCreator2.1-ubuntu%20portable-onefile.zip

I hope to make a .deb installer for my software too. Can someone give me some help? I have tried many tutorials on the web, but neither work for me.Thanks in advance.

2 Answers2

1

The Ubuntu Wiki has a complete packaging guide. There you should find every required information: PackagingGuide - Ubuntu Wiki

jplatte
  • 1,290
0

You might want to try to port your application to Quickly and use the new Qt application template, which also uses PySide. The quickly package command in the template will package your app for you.

Note that the Quickly Qt template is still work in progress, but if you want to try it, you'll probably need to:

  1. Install the Quickly Qt app template following the instructions
  2. Install Quickly Install quickly
  3. Create a Quickly project for your app with the quickly create ubuntu-application-qt myapp (replace myapp with your app's name)
  4. cd myapp and then remove the myapp and myapp_lib folders. Keep the setup.py file, as your app will need it to depend on python-distutils-extra to be packaged
  5. Put your app's source tree inside the new project, where the myapp folder used to be
  6. Tweak as required
  7. Try to run quickly package and see if the command packages your app