On Mon, Jan 12, 2009 at 8:51 AM, Lukasz Szybalski <[email protected]> wrote: > On Mon, Jan 12, 2009 at 4:16 AM, frankentux <[email protected]> > wrote: >> >> Thanks - there were a lot more packages which I needed to package >> (AddOns, PyProtocols, sprox etc). Basically, I just kept entering >> paster quickstart and kept getting import errors. >> Thus, I kept building packages until there were no import errors. Now >> paster quickstart works, but with this error: >> >> cfarr...@paddy:/tmp> paster quickstart >> 'import site' failed; use -v for traceback >> /usr/lib/python2.6/site-packages/dispatch/predicates.py:379: >> DeprecationWarning: object.__new__() takes no parameters >> return ExprBase.__new__ >> (klass,function,*argexprs) >> /usr/lib/python2.6/site-packages/tw/core/view.py:202: >> DeprecationWarning: object.__new__() takes no parameters >> obj = object.__new__(cls, *args, >> **kw) > > > Not sure about that error. Can somebody re-produce this on py2.6? My > guess would be tha something happen during the installation process > that broke the app. > > What I would suggest to do is the following: > > -Create a virtualenv > virtualenv --no-site-packages baseline > source ./baseline/bin/activate > > - This will give you a clean python virtual environment. > -Install turbogears (below command on a single line) > > easy_install -i http://www.turbogears.org/2.0/downloads/current/index > tg.devtools > > - See if it runs > paster quickstart > > -Now look at the baseline/lib/python2....site-packages and you will > find all the prerequisites. This is probably what you need to > package. > > Hope this helps. > Lucas >
Were you able to package it? Thanks, Lucas -- How to create python package? http://lucasmanual.com/mywiki/PythonPaste Bazaar and Launchpad http://lucasmanual.com/mywiki/Bazaar --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

