TG2 install questions

3 views
Skip to first unread message

Curious George

unread,
Jul 20, 2008, 11:44:11 PM7/20/08
to TurboGears
Hi all,

I went to upgrade to TG2 (on my MacBook Pro running 10.5.2) and since
I am still just at the beginning of this process I decided to do a
clean install of TG2. I cleared out my site-packages directory and /
usr/local/bin (including the paster and easy_install scripts). Then I
reinstalled setuptools and followed the directions at
http://turbogears.org/2.0/docs/main/DownloadInstall.html.

Everything seems to have gone fine but I noticed that FormEncode and
RuleDispatch did not get installed and I had read that they were still
part of TG2. Is this to be expected or are they optional packages that
only need to be install on an "as needed" basis? I have manually
installed them just in case.

My other question is in regards to Elixir. I went and tried to create
a quickstart project that I had hoped would include Elixir but despite
the usage text saying the "-e" option should be used it fails with:

-------
Usage: /Users/scozza/tg2env/bin/paster quickstart [options]
Create a new TurboGears 2 project.

Create a new Turbogears project with this command.

Example usage::

$ paster quickstart yourproj

or start project with elixir::

$ paster quickstart -e yourproj

Create a new TurboGears 2 project.

/Users/scozza/tg2env/bin/paster quickstart: error: no such option: -e
-------

I am assuming that an Elixir quickstart template is not available yet
and that to use Elixir I should do what is recommended for Pylons.
Something akin to what is listed at http://cleverdevil.org/computing/68/.

Is that the proper way to setup Elixir for use in TG2? If not could
someone please let me know how?

Thanks for your time,

Steve

PS - I am going to try the recommended means of using Elixir in Pylons
(but for TG2 in this case) but I thought I would see if there was
another way or if someone knew of pitfalls before I ran into them.


Mark Ramm

unread,
Jul 24, 2008, 12:07:47 PM7/24/08
to turbo...@googlegroups.com
FormEncode should have been included, but it's possible none of our
dependencies depend on it. I'll track that down this afternoon.

RuleDispatch on the other hand should not be needed any more.


On Sun, Jul 20, 2008 at 11:44 PM, Curious George <cg...@yahoo.com> wrote:
>
> Hi all,
>
> I went to upgrade to TG2 (on my MacBook Pro running 10.5.2) and since
> I am still just at the beginning of this process I decided to do a
> clean install of TG2. I cleared out my site-packages directory and /
> usr/local/bin (including the paster and easy_install scripts). Then I
> reinstalled setuptools and followed the directions at
> http://turbogears.org/2.0/docs/main/DownloadInstall.html.
>
> Everything seems to have gone fine but I noticed that FormEncode and
> RuleDispatch did not get installed and I had read that they were still
> part of TG2. Is this to be expected or are they optional packages that
> only need to be install on an "as needed" basis? I have manually
> installed them just in case.

Hmm, we dropped the RuleDispatch dependency when TurboJson and
ToscaWidgets did. FormEncode should be a dependency, and if it's not
something has gone wrong and I'll look


> My other question is in regards to Elixir. I went and tried to create
> a quickstart project that I had hoped would include Elixir but despite
> the usage text saying the "-e" option should be used it fails with:
>
> -------
> Usage: /Users/scozza/tg2env/bin/paster quickstart [options]
> Create a new TurboGears 2 project.
>
> Create a new Turbogears project with this command.
>
> Example usage::
>
> $ paster quickstart yourproj
>
> or start project with elixir::
>
> $ paster quickstart -e yourproj
>
> Create a new TurboGears 2 project.
>
> /Users/scozza/tg2env/bin/paster quickstart: error: no such option: -e
> -------
>
> I am assuming that an Elixir quickstart template is not available yet
> and that to use Elixir I should do what is recommended for Pylons.
> Something akin to what is listed at http://cleverdevil.org/computing/68/.
>
> Is that the proper way to setup Elixir for use in TG2? If not could
> someone please let me know how?
>
> Thanks for your time,
>
> Steve
>
> PS - I am going to try the recommended means of using Elixir in Pylons
> (but for TG2 in this case) but I thought I would see if there was
> another way or if someone knew of pitfalls before I ran into them.
>
>
>
> >
>

--
Mark Ramm-Christensen
email: mark at compoundthinking dot com
blog: www.compoundthinking.com/blog

Mark Ramm

unread,
Jul 24, 2008, 12:11:05 PM7/24/08
to turbo...@googlegroups.com
My other question is in regards to Elixir. I went and tried to create
a quickstart project that I had hoped would include Elixir but despite
the usage text saying the "-e" option should be used it fails with:

Yea, nobody's written the elixir support yet, basically we just need to setup the quickstart template a bit differently for elixir.   

In the short term we should remove the text that says -e works.   In the middle term it would be great if an elixir person wanted to send us a patch to the quickstart template ;) 

I am assuming that an Elixir quickstart template is not available yet
and that to use Elixir I should do what is recommended for Pylons.
Something akin to what is listed at http://cleverdevil.org/computing/68/.

Exactly. 
 

PS - I am going to try the recommended means of using Elixir in Pylons
(but for TG2 in this case) but I thought I would see if there was
another way or if someone knew of pitfalls before I ran into them.

I have not tried it, but the TG2 and Pylons stuff should be the same there...
Reply all
Reply to author
Forward
0 new messages