[Twisted-Python] Getting Stories Straight (RPYs)

Andrew Bennetts andrew-twisted at puzzling.org
Tue Jun 24 04:10:38 MDT 2003


On Tue, Jun 24, 2003 at 09:44:47AM -0000, Moshe Zadka wrote:
> On 24 Jun 2003, Philippe <lafou at wanadoo.fr> wrote:
> 
> > RPY seems to be a good starting point to me.
> 
> It isn't. That was itamar's point: don't use RPYs. It's not that they
> are not useful, but...

[...]

> When you are done testing, you package your Python library. Now,
> you may do several things:
> 
> 1. Put a .rpy in your doc/examples which looks something like
[...]
> 
> Please notice when the RPY arrived on the scene: a long time after
> you had a fully functioning blog, and you were *documenting* it. This
> is the proper time to think about deployment issues.

Just to elaborate a little on what Moshe said, notice what function the RPY
in Moshe's example is serving here: *it's a configuration file*.  It's not a
place for arbitrary code and logic, it's merely somewhere you configure a
predefined Resource class.

[Someone please correct me if I'm wrong!]

-Andrew.





More information about the Twisted-Python mailing list