Alberto Valverde wrote: >On Jan 11, 2007, at 11:04 AM, Peter Russell wrote: > > > >>Hi, >> >>Sorry if you've seen this already, I'm not sure if it sent last time. >> >>This is probably more of a generic Python or possibly SetupTools >>question. >> >>I have a project that includes multiple TurboGears servers which >>talk to >>each other though a JSON interface (the project is a web based voting >>system, where votes are entered into a web page driven by one server, >>validated against one and counted on a third, to ensure separation of >>concerns). >> >>These servers share a certain amount of code, so I would like them >>to be >>subpackages of a common python package, with a shared library package, >>giving a package structure like this: >> >>voting/ >> lib/ >> validationserver/ >> model.py >> controllers.py >> etc >> voteragent/ >> model.py >> controllers.py >> etc >> countingserver/ >> model.py >> controllers.py >> etc >> >>Is it possible to make Turbogears recognise that it is e.g. >>voting.validationserver rather than validationserver, or does the root >>of the project have to be a top level package? If so, what what >>happens >>to the top level stuff like the start script? >> >> > >Take a look at setuptools namespace packages. http://tinyurl.com/yauj5n > >You'd have to tweak start scripts and a couple of paths here and >there but it's certainly doable (I've done it ;) > > What about identity? Is it possible using this package share the authentication between multiple servers?
jo --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" 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/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

