Re: Distribute Django program to run on a local computer

2006-08-21 Thread Alan Green
On 8/22/06, Rob Hudson <[EMAIL PROTECTED]> wrote: > > I started the process of testing this on Windows and found that Python > is only about 12MB installed. Compared to about 120MB for Ruby. My > thinking now is that all we need is a local copy of Python, a wrapper > script to get Django up and

Re: Distribute Django program to run on a local computer

2006-08-21 Thread Rob Hudson
I started the process of testing this on Windows and found that Python is only about 12MB installed. Compared to about 120MB for Ruby. My thinking now is that all we need is a local copy of Python, a wrapper script to get Django up and running and to launch a browser at localhost:8000, and we're

Re: Distribute Django program to run on a local computer

2006-08-04 Thread Rob Hudson
A little more info this morning... Bob Ippolito posted a followup with some guidance. It makes it much simpler but I'm still seeing the same errors. Here's the latest py2app-setup.py: #!/usr/bin/env python from setuptools import setup setup( app=["run.py"], setup_requires=["py2

Re: Distribute Django program to run on a local computer

2006-08-03 Thread Rob Hudson
Malcolm Tredinnick wrote: > On Thu, 2006-08-03 at 13:25 -0700, Rob Hudson wrote: > > If anyone is still following along > > I am. Not a Mac or Windows user, but you're solving an interesting > problem. The end result is going to be useful. Thanks for sharing this > information. Thanks for the sup

Re: Distribute Django program to run on a local computer

2006-08-03 Thread Malcolm Tredinnick
On Thu, 2006-08-03 at 13:25 -0700, Rob Hudson wrote: > If anyone is still following along I am. Not a Mac or Windows user, but you're solving an interesting problem. The end result is going to be useful. Thanks for sharing this information. > I got past the last error by > specifically adding "

Re: Distribute Django program to run on a local computer

2006-08-03 Thread Rob Hudson
If anyone is still following along I got past the last error by specifically adding "django.db.backends.sqlite3.base" to my list of includes. This got me a little further. The server will successfully start up and I can make a request. I got a traceback in the browser about django.middleware.co

Re: Distribute Django program to run on a local computer

2006-08-02 Thread Rob Hudson
I've made a little more progress this morning... I created a run script to start up Django without needed to edit manage.py directly. With this run script I can add other features later. Here's the gist of it. (Quotes is my test app I created) #!/usr/bin/env python import sys, os sys.path.app

Re: Distribute Django program to run on a local computer

2006-08-01 Thread Rob Hudson
Julio Nobrega wrote: > Can't you use SSL, and tell the reviewers to use an anonymizer proxy? Not really. We have to assume no internet connection at all and ship a self-contained program. It makes things difficult and adds extra work. With a PHP solution we were able to use Microweb (indigos

Re: Distribute Django program to run on a local computer

2006-08-01 Thread Julio Nobrega
I was going to recommend a Live CD too, but let me get back a little to the first thread email and perhaps say something really stupid: On 7/31/06, Rob Hudson <[EMAIL PROTECTED]> wrote: > As part of the grant review > process, the reviewers must remain anonymous and therefore, we cannot > simpl

Re: Distribute Django program to run on a local computer

2006-07-31 Thread Frank Stüss
Maybe i misunderstood but what about then? You run a linux web server with django and could start it from theoretically every platform linux runs on. In parallel to the host system, not as 'live' system. You can access it via the host systems browser, so this should be

Re: Distribute Django program to run on a local computer

2006-07-31 Thread Rob Hudson
Malcolm Tredinnick wrote: > Live CDs have a slight drawback in that they take over your computer > whilst you are using them, so evaluating a submission whilst taking > notes requires two computers and you lose the ability to cut and paste > and easily take screenshots, etc, without a lot of fiddl

Re: Distribute Django program to run on a local computer

2006-07-31 Thread Malcolm Tredinnick
On Mon, 2006-07-31 at 16:52 -0700, Joseph Heck wrote: > I've been doing exactly that myself - I have a VMWare image (not > exactly LiveCD, but VMWare player is free...) that I use for a > development environment. At OSCON I was taking briefly about it. I > need to clean it up and post it. Right no

Re: Distribute Django program to run on a local computer

2006-07-31 Thread Joseph Heck
I've been doing exactly that myself - I have a VMWare image (not exactly LiveCD, but VMWare player is free...) that I use for a development environment. At OSCON I was taking briefly about it. I need to clean it up and post it. Right now it's sort of beleagured with all my additional stuff. -joeOn

Re: Distribute Django program to run on a local computer

2006-07-31 Thread Facundo Casco
maybe this make no sense to you but what about making a custom Linux liveCD with everything you need installed. All the end-user has to do is know how to boot from CD, no install, nothing left on their systems. Facundo Joseph Heck wrote: > It's a little more tricky than just packaging Django up n

Re: Distribute Django program to run on a local computer

2006-07-31 Thread Joseph Heck
It's a little more tricky than just packaging Django up nicely because of the external dependencies. I have a set of windows installers that I have bundled up for myself to drop onto windows machines to get them set up with a dev environment (sqlite3 based). It's a little tricker on the Mac - but o

Re: Distribute Django program to run on a local computer

2006-07-31 Thread [EMAIL PROTECTED]
Don't have any experience with this. Some options I've come across, that may or may not work: 1) http://www.py2exe.org/ - Never used it, but have it bookmarked for when I do need it. Like py2app but creates exe 2) http://www.voidspace.org.uk/python/programs.shtml#movpy -- From the website: "Movab

Distribute Django program to run on a local computer

2006-07-31 Thread Rob Hudson
Quick version: Is there a way to bundle up a Django application, maybe wrap an installer around it if need be, and distribute it by CD to install and run on a person's local system. Preferrably cross platform (Windows and Mac). Long version that helps explain why we need this: I work for a compa