easy_install ToscaWidgets[cheetah,kid,genshi]

0 views
Skip to first unread message

jeffk

unread,
Dec 9, 2006, 6:55:10 PM12/9/06
to TurboGears
Is the ToscaWidgets installation plugin option a syntax for an
easy_install parameter, or a suggested package name suffix to
'ToscaWidgets' , e.g. 'ToscaWidgetscheetah':

"You can optionally install plugins for Genshi, Kid or Cheetah by:
easy_install ToscaWidgets[cheetah,kid,genshi]
easy_install ToscaWidgets[cheetah,kid]
..."

"easy_install ToscaWidgets[cheetah,kid,genshi]" did update a new
version of Genshi-0.3.5, but it did not seem to install any separate
ToscaWidgets plugin packages. Thanks.

Elvelind Grandin

unread,
Dec 10, 2006, 4:34:49 AM12/10/06
to turbo...@googlegroups.com
It's an setuptools syntax for installing extra dependencies.
so easy_install ToscaWidgets[cheetah] would install toscawidgets and
cheetah/turbocheetah.
you can checkout the relevant part of the setup.py file.
http://trac.turbogears.org/turbogears/browser/projects/ToscaWidgets/trunk/setup.py#L43


--
cheers
elvelind grandin

Jeff Kowalczyk

unread,
Dec 21, 2006, 9:55:09 PM12/21/06
to TurboGears
Elvelind Grandin wrote:
> It's an setuptools syntax for installing extra dependencies.
> so easy_install ToscaWidgets[cheetah] would install toscawidgets and
> cheetah/turbocheetah.
> you can checkout the relevant part of the setup.py file.
> http://trac.turbogears.org/turbogears/browser/projects/ToscaWidgets/trunk/setup.py#L43
> > "You can optionally install plugins for Genshi, Kid or Cheetah by:
> > easy_install ToscaWidgets[cheetah,kid,genshi]
> > easy_install ToscaWidgets[cheetah,kid]

Thanks. The way the instruction reads now, it sounds as if the user is
forgoing ToscaWidgets capabilies if they don't use the optional
dependency syntax.

The ToscaWidgets doc text might be made a little clearer by stating
that: ToscaWidgets supports Cheetah (via TurboCheetah), Kid (via
TurboKid) and Genshi templates (and other Buffet-compatible templating
engines), if these packages are installed. You may optionally install
these as ToscaWidgets dependencies with the command: easy_install
ToscaWidgets[cheetah,kid,genshi]...

Alberto Valverde

unread,
Dec 22, 2006, 4:50:41 AM12/22/06
to turbo...@googlegroups.com

I'll be updating the docs soon to make that clearer.

Thanks for the suggestion. :)

Alberto

Reply all
Reply to author
Forward
0 new messages