I just wanted to tell everyone that I have created a new wiki page:
http://docs.turbogears.org/1.0/OfflineInstall
It explains how to install setuptools and TurboGears without needing
easy_install to access the internet. This is useful when you are
behind a highly restrictive proxy or firewall or when you want to
download TG and do an "offline" install on one or more machines.
I have seen this question come up a number of times on this list and
it's something that I have to deal with myself.
Well, after some gentle prodding (thanks gasolin!) :-), I finally wrote
something up!
(See this thread for all the gory details, if you care:)
This is my first real contribution to any open-source project, so
please go easy on me. :-) If anyone sees any problems with it or want
to see if improved, please post here, or better yet, edit it directly!
It's a wiki after all.
One final note: I added a reference to Ed Singleton's 1.0b1 tarball
(mentioned in other thread, see above). I don't want to volumteer you,
Ed, for anyting so if you (or anyone) thinks that should not be there,
just say so.
Anyway, I hope people find this information usefull.
Thanks to everyone that has made TG a reality! You rock!
Krys
Download aps098.zip from
http://sourceforge.net/project/showfiles.php?group_id=69259
Modify server.cfg; in the [GENERAL] section set PARENT_PROXY:and
PARENT_PROXY_PORT:to match the values in Internet Explorer | Tools |
Internet Options | Connections | LAN settings | Proxy settings. Leave
the LISTEN_PORT at 5865.
In the [NTLM_AUTH] section, set the NT_DOMAIN to your domain, USER to
your login ID and clear the PASSWORD field so you will be asked for it
in the next step (I would not advise saving your password in this text
file).
Open A DOS command window, change to the APS folder, do runserver.bat.
This should ask for your password.
Open another DOS command window.
Redirect python through your APS proxy:
set HTTP_PROXY=http://127.0.0.1:5865
Change to the python scripts folder (on my PC its python24\scripts).
This is to allow you to use the Python easy_install script rather than
the exe, which causes an error (on my Windows PC at least).
Finally:
C:\Python24\Scripts>easy_install-script.py -Uf
http://www.turbogears.org/download/index.html TurboGears
Thanks for writing that up. I've been holding off on writing the doc
because I'm expecting an official set of platform-dependent zips,
which addresses the problem more directly. In the meantime, it'll save
people some time, so I'll link it up from the index.
> It explains how to install setuptools and TurboGears without needing
> easy_install to access the internet. This is useful when you are
> behind a highly restrictive proxy or firewall or when you want to
> download TG and do an "offline" install on one or more machines.
>
I reply to cow133 on a small doc I wrote to make setuptools work
behind a proxy, maybe adding that as an option before getting all the
files manually could be an option.
Also I made a small correction about ConfigObj
That is actually the way that the setuptools docs recomend, and I
always keep it handy, but I dislike the idea of setting up a proxy
everytime I want to install/upgrade packages, and in my case there is
still the issue of our corporate NetShield filtering things.
I wonder if I should add a blurb about it to the wiki page, even though
the current solution is more general.
Thoughts anyone?
Thanks,
Krys
Cool! :-)
Krys
The problem is that python cannot handle NTLM authentication (M$
proprietary protocol) by default so the built-in proxy support won't
work (it supports standards!) :-(. APS is designed specifically to
talk NTLM.
If you are lucky enough to not live behind MS Proxy Server, then you
don't need APS. (Lucky you!) :-)
Krys
I just noticed your edit.
Actually I meant "platform-INdependant", as I want to make the
distinction when there is a choice. The platform-dependant info, I
think, is well explained, but in at least one case there is the choice
of TG-x-y-z.egg and TG-x-y-z.tag.gz and I wanted to make the preference
clear.
Maybe it was not so clear. :-)
Anyway, I put the IN back, but if you think it should be edited, please
feel free or let me know and I will.
Thanks!
Krys
Thanks!
> I reply to cow133 on a small doc I wrote to make setuptools work
> behind a proxy, maybe adding that as an option before getting all the
> files manually could be an option.
Yeah, I think I will put in a blurb about it.
> Also I made a small correction about ConfigObj
That's more generic = better. Thanks! :-)
Krys
Eh, I was just reading through and it looked like a typo. If you like,
you can just say that eggs are generally preferable over .tar.gz files
without mentioning platform specific/independant.
Okay, at Jorge Vargas' suggestion, I have added a section on using APS.
I basically just copied your instructions, cow133, as they were well
written. I hope you don't mind. :-)
If anyone sees any mistakes or things that need clarifying, please say
so (or do the edit directly.)
Thanks cow133 for the well written APS instructions.
Krys
BTW, any other old punks on the list remember what TG stood for 20
years ago? 20 Jazz Funk Greats I believe.
Done. :-)
Cool , you did a good job :-D