http://www.turbogears.org/2.0/downloads/1.9.7b2/index/
So if you create a new virtualenv with the --no-site-packages option
(or if you want to play fast and free with your system TG2 install)
you should be able to get a fully functional TG2 install with all the
latest goodness by activating your virtualenv and doing:
easy_install http://www.turbogears.org/2.0/downloads/1.9.7b2/index/ tg.devtools
Let us know if there are any problems, if not we'll do a real release
of this after thanksgiving, probably Monday.
--
Mark Ramm-Christensen
email: mark at compoundthinking dot com
blog: www.compoundthinking.com/blog
looks good on debian unstable....
Thanks,
Lucas
I've fixed some important, auth-related bugs. Is it possible to include these
fixes in this beta?
Cheers.
On Thursday November 27, 2008 05:16:56 Mark Ramm wrote:
> We have created a new index at:
>
> http://www.turbogears.org/2.0/downloads/1.9.7b2/index/
>
> So if you create a new virtualenv with the --no-site-packages option
> (or if you want to play fast and free with your system TG2 install)
>
> you should be able to get a fully functional TG2 install with all the
> latest goodness by activating your virtualenv and doing:
>
> easy_install http://www.turbogears.org/2.0/downloads/1.9.7b2/index/
> tg.devtools
>
> Let us know if there are any problems, if not we'll do a real release
> of this after thanksgiving, probably Monday.
--
Gustavo Narea <http://gustavonarea.net/>.
Get rid of unethical constraints! Get freedomware:
http://www.getgnulinux.org/
The fixes are in TG2 itself. Then is it enough to update the tarball of TG?
Cheers.
Doesn't seem to work on Debian stable (Etch) with Python 2.4 (the
default) and Python 2.5 (explicitly specified when creating
virtualenv). With 2.5 output is basically the same, so I don't include
it here.
$ python .virtualenvs/virtualenv.py --no-site-packages --verbose
.virtualenvs/tg2
Creating .virtualenvs/tg2/lib/python2.4
Symlinking Python bootstrap modules
Symlinking .virtualenvs/tg2/lib/python2.4/codecs.pyc
Symlinking .virtualenvs/tg2/lib/python2.4/sre_compile.py
Symlinking .virtualenvs/tg2/lib/python2.4/lib-dynload
Symlinking .virtualenvs/tg2/lib/python2.4/fnmatch.py
Symlinking .virtualenvs/tg2/lib/python2.4/re.py
Symlinking .virtualenvs/tg2/lib/python2.4/fnmatch.pyc
Symlinking .virtualenvs/tg2/lib/python2.4/re.pyc
Symlinking .virtualenvs/tg2/lib/python2.4/UserDict.pyc
Symlinking .virtualenvs/tg2/lib/python2.4/UserDict.py
Symlinking .virtualenvs/tg2/lib/python2.4/ntpath.py
Symlinking .virtualenvs/tg2/lib/python2.4/sre.py
Symlinking .virtualenvs/tg2/lib/python2.4/os.py
Symlinking .virtualenvs/tg2/lib/python2.4/sre_compile.pyc
Symlinking .virtualenvs/tg2/lib/python2.4/codecs.py
Symlinking .virtualenvs/tg2/lib/python2.4/posixpath.pyc
Symlinking .virtualenvs/tg2/lib/python2.4/locale.pyc
Symlinking .virtualenvs/tg2/lib/python2.4/stat.py
Symlinking .virtualenvs/tg2/lib/python2.4/copy_reg.py
Symlinking .virtualenvs/tg2/lib/python2.4/sre_parse.py
Symlinking .virtualenvs/tg2/lib/python2.4/stat.pyc
Symlinking .virtualenvs/tg2/lib/python2.4/copy_reg.pyc
Symlinking .virtualenvs/tg2/lib/python2.4/os.pyc
Symlinking .virtualenvs/tg2/lib/python2.4/types.pyc
Symlinking .virtualenvs/tg2/lib/python2.4/sre_parse.pyc
Symlinking .virtualenvs/tg2/lib/python2.4/locale.py
Symlinking .virtualenvs/tg2/lib/python2.4/sre.pyc
Symlinking .virtualenvs/tg2/lib/python2.4/posixpath.py
Symlinking .virtualenvs/tg2/lib/python2.4/sre_constants.py
Symlinking .virtualenvs/tg2/lib/python2.4/ntpath.pyc
Symlinking .virtualenvs/tg2/lib/python2.4/types.py
Symlinking .virtualenvs/tg2/lib/python2.4/config
Symlinking .virtualenvs/tg2/lib/python2.4/encodings
Symlinking .virtualenvs/tg2/lib/python2.4/sre_constants.pyc
Creating .virtualenvs/tg2/lib/python2.4/site-packages
Writing .virtualenvs/tg2/lib/python2.4/site.py
Writing .virtualenvs/tg2/lib/python2.4/orig-prefix.txt
Writing .virtualenvs/tg2/lib/python2.4/no-global-site-packages.txt
Creating .virtualenvs/tg2/bin
New python executable in .virtualenvs/tg2/bin/python
Changed mode of .virtualenvs/tg2/bin/python to 0755
Testing executable with .virtualenvs/tg2/bin/python -c "import sys;
print sys.prefix"
Got sys.prefix result: '/home/posy/.virtualenvs/tg2'
Creating .virtualenvs/tg2/lib/python2.4/distutils
Writing .virtualenvs/tg2/lib/python2.4/distutils/__init__.py
Writing .virtualenvs/tg2/lib/python2.4/distutils/distutils.cfg
No Setuptools egg found; downloading
Installing setuptools...
Downloading http://pypi.python.org/packages/2.4/s/setuptools/setuptools-0.6c9-py2.4.egg
Searching for setuptools
Downloading http://pypi.python.org/packages/2.4/s/setuptools/setuptools-0.6c9-py2.4.egg#md5=260a2be2e5388d66bdaee06abec6342a
creating /home/posy/.virtualenvs/tg2/lib/python2.4/site-packages/setuptools-0.6c9-py2.4.egg
Extracting setuptools-0.6c9-py2.4.egg to
/home/posy/.virtualenvs/tg2/lib/python2.4/site-packages
Processing dependencies for setuptools
Finished processing dependencies for setuptools
removing '/home/posy/.virtualenvs/tg2/lib/python2.4/site-packages/setuptools-0.6c9-py2.4.egg'
(and everything under it)
creating /home/posy/.virtualenvs/tg2/lib/python2.4/site-packages/setuptools-0.6c9-py2.4.egg
Extracting setuptools-0.6c9-py2.4.egg to
/home/posy/.virtualenvs/tg2/lib/python2.4/site-packages
setuptools 0.6c9 is already the active version in easy-install.pth
Processing dependencies for setuptools==0.6c9
Finished processing dependencies for setuptools==0.6c9
...Installing setuptools...done.
Writing .virtualenvs/tg2/bin/activate
Writing .virtualenvs/tg2/bin/activate_this.py
$ . .virtualenvs/tg2/bin/activate
$ easy_install -f
http://www.turbogears.org/2.0/downloads/1.9.7b2/index/ tg.devtools
Searching for tg.devtools
Reading http://www.turbogears.org/2.0/downloads/1.9.7b2/index/
Reading http://pypi.python.org/simple/tg.devtools/
Couldn't find index page for 'tg.devtools' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://pypi.python.org/simple/
No local packages or download links found for tg.devtools
error: Could not find suitable distribution for Requirement.parse('tg.devtools')
--
Timur Izhbulatov -- www.timka.org
> $ easy_install -f
> http://www.turbogears.org/2.0/downloads/1.9.7b2/index/ tg.devtools
I think the command is -i not -f:
easy_install -i http://www.turbogears.org/2.0/downloads/1.9.7b2/index/
tg.devtools
It does work on Debian stable python 2.4.
Thanks,
Lucas
Yea, we've created our own package index rather than just uploading
all the files to directory. This requires the -i option, but makes
it easier to create a repeatable install.
By the way I've updated the beta2 egg at that index to include
gustavo's latest repoze.what integration stuff.
I'm having a bit of trouble with getting memcache installed and
working so that I can build a complete set of new docs, but when
that's done I'll push out a new beta2 release.
--Mark Ramm
Thanks! It works with -i
Mark,
Earlier this week I tried to deploy my TG2 application that I wrote
few months ago in a freshly created 1.9.7b2 virtualenv. There were
some issues.
The tw.forms package from the 1.9.7b2/index is version 0.9.1. It's a
bit outdated. For instance, it doesn't seem to support help text
tooltips (in the 'title' attribute). Is there any reason not to update
to 0.9.3?
Also, I would like to draw your attention to ticket 2001 [1]. This is
quite annoying regression that breaks i18n in Genish, but it's very
easy to fix and I've already submited a patch for this.
Another issue is ticket 1999 [2]. For this one the fix is not that
simple, and the attached patch is subject for discussion.
Currently, I have workarounds [3,4] for both issues inside my
application but I would be glad to get rid of that.
Thanks,
Timur
[1] http://trac.turbogears.org/ticket/2001
[2] http://trac.turbogears.org/ticket/1999
[3] http://code.google.com/p/posy/source/browse/tags/0.1.1/posy.tg/posy/tg/config/app_cfg.py#18
[4] http://code.google.com/p/posy/source/browse/tags/0.1.1/posy.tg/posy/tg/lib/base.py#17