On Fri, Feb 12, 2010 at 7:51 AM, Sanjiv Singh <[email protected]> wrote: > One solution could be: > > 1. Download all the packages listed under > http://www.turbogears.org/2.1/downloads/current/index/ > 2. Download any additional packages you need that are not available in the > index > 2. Copy them over to your internal web server > 3. Download the script for creating your own package index from > http://plope.com/static/misc/makeindex.py > 4. Create your own index: $ python makeindex.py *.{gz,tgz,zip,egg} > > Now the offline users should be able to install TG2.1 by pointing to > the new index. > $ easy_install -i <new index url> tg.devtools > > Although I have not tried this. you could consider modifying the > devtools/templates/turbogears/setup.cfg_tmpl in tg.devtools package in > your index and changing the find_links param under easy_install > section from pylons download site to your custom index so that package > dependencies are looked for at your custom index.
I tried this and found this does not work as setuptools does not find the download links at the index. You could replace find_links with index_url, e.g. [easy_install] index_url = <new index url> The safest thing however is to leave the setup.cfg untouched and pass the index as param to setup.py, i.e. $ cd MyProject $ python setup.py develop -i <new index url> Sanjiv > > regards > Sanjiv > > > regards > Sanjiv > > On Thu, Feb 11, 2010 at 1:49 AM, Corey Kovacs <[email protected]> wrote: >> Folks, >> >> I've been trying to find a reliable and repeatable way to get TG2 installed >> offline using several >> different methods. The methods I have tried are somewhat inconsistent in >> terms if success rate. >> >> Every time I do an install I am required to manually build and install >> several items that don't get >> resolved as dependencies. >> >> I have of course seen the methods referred to in the online docs and the >> basic 'easy_install -f . TurboGears2' >> With the recent version of software in the "current" release, it doesn't >> work as the version of ToscaWidgets isn't >> recent enough. >> >> My question is simple. If there is a good way of doing this already, then >> someone please let me know what it is. >> >> >> Regards >> >> >> Corey >> >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "TurboGears" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/turbogears?hl=en. >> > -- You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/turbogears?hl=en.

