-
Notifications
You must be signed in to change notification settings - Fork 0
Glue
Glue is the working name for a rewrite of the portions of PasteScript which we use in Pyramid. Rationale: porting PasteScript to Python 3 in its entirety is too much effort, as PasteScript relies on Paste itself, which is huge. We just don't use that much of it.
Glue should do the following:
-
offer up a "Command" class which can be subclassed (or at least define an interface for a command class that can be implemented) that allows folks to create analogues of "paster" commands such as "pshell", "pviews", etc.
-
install a "glue" console script which replaces "paster" and which does mostly the same thing, save for doing "create", which it may or may not be responsible for (we might do scaffold rendering in a separate package, or in Pyramid itself). It should be able to search for setuptools entry points for commands and it should be able execute them. It should also be willing to serve up an application/pipeline defined in an ini file.
Glue will likely depend on PasteDeploy (which already has machinery to read a Paste-compatible .ini file and do application serving). It will not, however, depend on Paste or PasteScript.