[Product-Developers] Offline bootstrap.py
gilles.lenfant at alterway.fr
Sun Jul 31 18:33:57 UTC 2011
Le 28 juil. 2011 à 18:29, Steve McMahon a écrit :
> Try adding "buildout:install-from-cache=true" to your buildout command line.
> The installers are a good source of solutions for this problem, as they need to be able to run offline.
But the problem is that there is no bin/buildout script at this stage. And absolute paths in parts/buildout/site may be wrong. I'm talking about bootstraping a project I shall make using "buildout:install-from-cache=true" or with the "-No" option that seems to do the same thing.
So the bin/buildout command does not exist or contains wrong "sys.path" patches.
My solution is nearly ready and I shall blog about this in few.
> On Thu, Jul 28, 2011 at 1:53 AM, Gilles Lenfant <gilles.lenfant at alterway.fr> wrote:
> This is perhaps not the most suited ML for asking such question. I'm in a situation where I need to install a Plone in a windows platform that has no access to the internet.
> I unzip a tarball that has the buildout space, including all eggs, such it **could** work with "bin\buildout.exe -nO -c production.cfg", but the bootstrap.py always tries to grab eggs **that are already in $BUILDOUT/eggs** from the internet.
> The other solution consists in changing all the paths in bin\buildout script such it matches the installation path for various eggs. I need to change stuffs in parts\buildout\site.py too in various places. Perhaps I'm missing something.
> Is there an automated way to run the bootstrap.py with no connection to the internet ?
> Thanks by advance for any hint.
> Gilles Lenfant
> Product-Developers mailing list
> Product-Developers at lists.plone.org
More information about the Product-Developers