For my frePPle project, I have been using py2exe to package a
standalone django application.

See here for my manage.py script:
http://frepple.svn.sourceforge.net/viewvc/frepple/trunk/contrib/installer/manage.py?revision=640&view=markup

Here's a patch for the django code to make also the django commands
work with the zip-file created by py2exe:
http://code.djangoproject.com/ticket/5825              unfortunately
not marked for the 1.0 release :-(


Johan

On 20 jun, 19:10, Molly <[EMAIL PROTECTED]> wrote:
> Thanks for that tip, Chris! I have been wondering about that actually.
>
> I think I am going to switch to Apache, because I have been having a
> lot of trouble with the exe.
>
> Thanks for the help, I aprreciate it :)
>
> Molly
>
> On Jun 20, 10:56 am, chris vigelius <[EMAIL PROTECTED]>
> wrote:
>
>
>
> > Hi Molly,
>
> > please consider using dpaste.com or similar for posting long code examples.
> > Not only does this reduce list traffic, but you'll get syntax coloring and
> > readable formatting, too...
>
> > On to your question:
> > I must admit I never used py2exe, so my advice may be misguided, but 
> > shouldn't
> > this list
>
> > >                    data_files = [(".", [r"C:\dev\incidents\db.sqlite3"]),
> > >                            (r".\templates\admin", 
> > > glob.glob(r"C:\Python25\Lib\site-packages
> > > \django\contrib\admin\templates\admin\*.*")),
> > >                            (r".\templates\admin\auth\user", 
> > > glob.glob(r"C:\Python25\Libsite-
> > > packages\django\contrib\admin\templates\admin\auth\user\*.*")),
> > > -~----------~----~----~----~------~----~------~--~---
>
> > somehow refer to C:\dev\incidents\media\, where you seem to store your 
> > actual
> > media files? If this "data_files" property does what I think it does, then
> > you import admin media from site-packages, but not your own media files. And
> > btw, there's a backslash missing in the third line, too.
>
> > hth,
> >  chris- Tekst uit oorspronkelijk bericht niet weergeven -
>
> - Tekst uit oorspronkelijk bericht weergeven -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to