Hi, I'm somewhat new to Pylons and do not completely grasp the details
of how Paste effects the deployment of an application. Nevertheless,
I've been exploring how to distribute (for running on a Windows
machine that has no Internet connection) a Pylons web app using
py2exe. I'm getting stuck on the paster.exe component, for there is no
obvious natural way that a separate executable can be included in the
py2exe process.

It's clear that paster.exe has several functions, only one of which is
actually to serve an application, and it is also clear (from its small
size) that paster.exe doesn't actually contain the code for any of
this, but is basically a command-line wrapper for functionality that
is written in Python. So, I've concluded that it should be
straightforward to write a Python (.py file) equivalent to a specific
invocation of paster.exe, and was hoping to get some guidance on that.

If I use 'paster.exe serve development.ini' to run my application,
what would be the simplest Python program that would produce the same
result? If the answer lies on the web page http://pythonpaste.org/deploy/
then this is where I've gotten bogged down.

To clarify, the idea is that I can create a file serve_application.py
which, when run, gives the same effect as the command 'paster.exe
serve development.ini'. Then, I can run py2exe on serve_application.py
and get a single program that can run my web application on any
computer without installing Python.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to