title: Creating portable Django apps - help needed
body: <p>I'm building a Django app, which I comfortably run (test :)) on a Ubuntu Linux host. I would like to package the app without source code and distribute it to another production machine. Ideally the app could be run by ./runapp command which starts a CherryPy server that runs the python/django code.</p>
  
  <p>I've discovered several ways of doing this:</p>
  
  <ol>
  <li>Distributing the .pyc files only and building and installing all the requirements on target machine.</li>
  <li>Using one of the many tools to package Python apps into a distributable package.</li>
  </ol>
  
  <p>I'm really gunning for nr.2 option, I'd like to have my Django app contained, so it's possible to distribute it without needing to install or configure additional things. Searching the interwebs provided me with more questions than answers and a very sour taste that Django packing is an arcane art that everybody knows but nobody speaks about. :)</p>
  
  <p>I've tried Freeze (fails), <a href="http://cx-freeze.sourceforge.net/" rel="noreferrer">Cx_freeze</a> (easy install version fails, repository version works, but the app output fails) and red up on dbuilder.py (which is supposed to work but doesn't work really - I guess). If I understand correctly most problems originate form the way that Django imports modules (example) but I have no idea how to solve it.</p>
  
  <p>I'll be more than happy if anyone can provide any pointers or good resources online regarding packing/distributing standalone Django applications.</p>