TurboGears 1.0b2 and workingenv.py

0 views
Skip to first unread message

Keith R. Fieldhouse

unread,
Dec 4, 2006, 9:56:58 PM12/4/06
to turbo...@googlegroups.com
I'm looking at converting my working environment from a virtual-python
based one, to one based on workingenv.py [1]. When I run tgsetup.py in
my activated workingenv.py environment, it installs the TurboGears egg
and then announces that it will install the required dependencies.
Unfortunately it then exits without installing any additional eggs.
Has this worked for anyone else with 1.0b2? Do I need to do something
different than run tgsetup? Or, do I need to debug something weird in my
setup?

Keith

[1] http://blog.ianbicking.org/workingenv-revisited.html

Jorge Vargas

unread,
Dec 5, 2006, 10:38:53 AM12/5/06
to turbo...@googlegroups.com
On 12/4/06, Keith R. Fieldhouse <turbo...@rexmere.com> wrote:
>
> I'm looking at converting my working environment from a virtual-python
> based one, to one based on workingenv.py [1]. When I run tgsetup.py in
> my activated workingenv.py environment, it installs the TurboGears egg
> and then announces that it will install the required dependencies.
> Unfortunately it then exits without installing any additional eggs.
> Has this worked for anyone else with 1.0b2? Do I need to do something
> different than run tgsetup? Or, do I need to debug something weird in my
> setup?
>
have you try with plain setuptools? tgsetup is coded to handle the
most common case.

> Keith
>
> [1] http://blog.ianbicking.org/workingenv-revisited.html
>
> >
>

qvx

unread,
Dec 6, 2006, 3:30:29 PM12/6/06
to TurboGears

Jorge Vargas wrote:

> have you try with plain setuptools? tgsetup is coded to handle the
> most common case.

I tried the following:

D:\My\Programming\Projects\Python\WorkingEnvironments\tg1.0b2>easy_install
-f http://www.turbogears.org/download/filelist.html turbogears==1.0b2
Searching for turbogears==1.0b2
Reading http://www.turbogears.org/download/filelist.html
Best match: TurboGears 1.0b2
Downloading http://files.turbogears.org/eggs/TurboGears-1.0b2-py2.4.egg
Processing TurboGears-1.0b2-py2.4.egg
creating
d:\my\programming\projects\python\workingenvironments\tg1.0b2\lib\python2.4\TurboGears-1.0b2-py2.4.egg
Extracting TurboGears-1.0b2-py2.4.egg to
d:\my\programming\projects\python\workingenvironments\tg1.0b2\lib\python2.4
Removing turbogears 1.0b1 from easy-install.pth file
Adding TurboGears 1.0b2 to easy-install.pth file
Installing tg-admin-script.py script to
D:\My\Programming\Projects\Python\WorkingEnvironments\tg1.0b2/bin/
error:
D:\My\Programming\Projects\Python\WorkingEnvironments\tg1.0b2\lib\python2.4\setuptools\cli.exe:
No such file or directory


Before this I tried similar thing without "==1.0b2" part with similar
results. I guess that this explains line:

Removing turbogears 1.0b1 from easy-install.pth file

--
Tvrtko

Jorge Vargas

unread,
Dec 7, 2006, 5:09:57 PM12/7/06
to turbo...@googlegroups.com
On 12/6/06, qvx <qvx...@gmail.com> wrote:
>
>
> Jorge Vargas wrote:
>
> > have you try with plain setuptools? tgsetup is coded to handle the
> > most common case.
>
> I tried the following:
>
> D:\My\Programming\Projects\Python\WorkingEnvironments\tg1.0b2>easy_install
> -f http://www.turbogears.org/download/filelist.html turbogears==1.0b2

easy_install -U TurboGears will give the same result

qvx

unread,
Dec 13, 2006, 2:33:15 PM12/13/06
to TurboGears
You are correct, it gives the same result (error) :)

D:\My\Programming\Projects\Python\WorkingEnvironments>workingenv.py
tg1.0b2
Making working environment in


D:\My\Programming\Projects\Python\WorkingEnvironments\tg1.0b2

Installing local setuptools
Creating
d:\my\programming\projects\python\workingenvironments\tg1.0b2\lib\python2.4\site.py
Searching for setuptools
Reading http://www.python.org/pypi/setuptools/
Reading http://peak.telecommunity.com/DevCenter/setuptools
Reading http://www.python.org/pypi/setuptools/0.6c3
Best match: setuptools 0.6c3
Processing setuptools-0.6c3-py2.4.egg
Copying setuptools-0.6c3-py2.4.egg to


d:\my\programming\projects\python\workingenvironments\tg1.0b2\lib\python2.4

Adding setuptools 0.6c3 to easy-install.pth file
Installing easy_install-script.py script to
D:\My\Programming\Projects\Python\WorkingEnvironments\tg1.0b2\bin
Installing easy_install.exe script to
D:\My\Programming\Projects\Python\WorkingEnvironments\tg1.0b2\bin
Installing easy_install-2.4-script.py script to
D:\My\Programming\Projects\Python\WorkingEnvironments\tg1.0b2\bin
Installing easy_install-2.4.exe script to
D:\My\Programming\Projects\Python\WorkingEnvironments\tg1.0b2\bin

Installed
d:\my\programming\projects\python\workingenvironments\tg1.0b2\lib\python2.4\setuptools-0.6c3-py2.4.egg
Processing dependencies for setuptools
Cannot fix import path in script
D:\My\Programming\Projects\Python\WorkingEnvironments\tg1.0b2\bin\easy_install-2.4.exe
Cannot fix import path in script
D:\My\Programming\Projects\Python\WorkingEnvironments\tg1.0b2\bin\easy_install.exe

D:\My\Programming\Projects\Python\WorkingEnvironments>cd tg1.0b2

D:\My\Programming\Projects\Python\WorkingEnvironments\tg1.0b2>bin\activate.bat

D:\My\Programming\Projects\Python\WorkingEnvironments\tg1.0b2>echo off


D:\My\Programming\Projects\Python\WorkingEnvironments\tg1.0b2>easy_install

-U TurboGears
Searching for TurboGears
Reading http://www.python.org/pypi/TurboGears/
Reading http://www.turbogears.org
Reading http://www.turbogears.org/download/
Reading http://www.python.org/pypi/TurboGears/1.0b1
Reading http://www.python.org/pypi/TurboGears/&quot;<a


Best match: TurboGears 1.0b2
Downloading http://files.turbogears.org/eggs/TurboGears-1.0b2-py2.4.egg
Processing TurboGears-1.0b2-py2.4.egg
creating
d:\my\programming\projects\python\workingenvironments\tg1.0b2\lib\python2.4\TurboGears-1.0b2-py2.4.egg
Extracting TurboGears-1.0b2-py2.4.egg to
d:\my\programming\projects\python\workingenvironments\tg1.0b2\lib\python2.4

Reply all
Reply to author
Forward
0 new messages