[Solved]-Can Django be used with py2exe?

13👍

Yes, you require:

  • Python 2.5.2
  • Django (svn version at
    least 2008-06-05)
  • CherryPy (web
    server)
  • Py2Exe

Tutorial

👤Radek

4👍

PyInstaller has builtin support for Django applications. It will do most of the magic by itself.

0👍

I recently did this with Django 1.5 and python 2.7. I didn’t embed a webserver, because I really just wanted the ORM.

Here are the options I used in setup.py:

options = {
 "py2exe":{
           "includes": ["Cookie","htmlentitydefs"],
           "packages":["django","sqlite3","email"],
           }
 }
👤AgDude

Leave a comment