Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
Simplest Debian Packaging Guide?

i've made an app using wxpython, i have some .py files and some icons, how can i package it for uploading it to launchpad??

i've already set a ppa and it seems like i need to organize my files before packaging, i mean the debian file structure needed to make a tar.gz source package and how to upload it... i've read some guides (that have an already made tar.gz source package) but as this is my first app i do not understand most of the things...

any help?

share|improve this question

marked as duplicate by Jorge Castro, devav2, John S Gruber, Ringtail, Mik Oct 14 '12 at 16:14

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

You seem to have a misunderstanding of what a .deb is. The .tar.gz is the source code that is partly used in the source package, but not the source package for the deb itself. Start by reading the Packaging Guide, it should be a good starting point for you.

share|improve this answer
those are the guides i saw before, i'm asking for the file structure of the package, ie: i know the licence file goes on the root of the package, where goes the other files?? mainly the .py files and icons... – Hairo Jun 22 '12 at 16:10
try using the basic guide, or examining other packages that are already built for their structure. There is no one predetermined file structure, except that debian/ has to exist in the root, as well as a few other files (read the complete guide for in depth details) – Thomas Ward Jun 22 '12 at 16:47

Not the answer you're looking for? Browse other questions tagged or ask your own question.