5.4.2013 11:44, R R kirjoitti:
Hi,

is there a way to package Python, Django and a Django Project which will
enable the user to set it up with just one click? What i'm intending to
do is to send it to couple of people who will set it up on their windows
machines and then click on a desktop icon which will run the runserver
command and open the localhost URL in the browser. The end users are not
computer-savvy, and also security is not an issue here.

Short answer - "you can't".

Well that is not entirely true but requires quite a bunch of work and depends greatly what kind of 3rd party libs your project uses.

Keyword here is cx_Freeze [1] or py2exe [2]. If you're lucky it might work with little effort but if everything else fails you can always do it by creating special script to gather all the required parts.

See also <http://misunderstandings.wordpress.com/2008/06/26/django-desktop-app/>

[1] http://cx-freeze.sourceforge.net/
[2] http://www.py2exe.org/

--
Jani Tiainen

- Well planned is half done and a half done has been sufficient before...

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to