[Zope-dev] Zope2 trunk: getting 'mkzopeinstance' / 'mkzeoinstance' working

Tres Seaver tseaver at palladion.com
Tue Feb 24 18:23:27 EST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hanno Schlichting wrote:
> Tres Seaver wrote:
>> Hanno Schlichting wrote:
>>> Andreas Jung wrote:
>>>> On Mon, Feb 23, 2009 at 17:46, Tres Seaver <tseaver at palladion.com> wrote:
>>> Creating an instance from the SVN checkout itself doesn't work for me
>>> either for the same reason. The created scripts try to use the general
>>> Python interpreter without the correct sys.path and end up missing out
>>> all the dependencies.
>> Right:  if you hack it to use the 'zopepy' script, rather than
>> sys.executable, then the instance scripts work.
> 
> I looked at this, but guessing or reliably getting to the zopepy script
> wasn't possible. So I added an explicit option to the script instead and
> documented it. You can now use:
> 
> bin/mkzopeinstance --python=bin/zopepy
> 
> on the SVN trunk. You can omit this option and it will use
> sys.executable as before.

Maybe we can detect buildout vs. tarball (e.g., the presence of
'buildout.cfg' vs. 'makefile'?)


Tres.
- --
===================================================================
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJpIFu+gerLs4ltQ4RAl/9AJ0fs1Re3TPN3ywPAfVO0hf18z9XzwCeNz3u
Zupy2J8xlHfR7jsUTHUFe4U=
=0fQW
-----END PGP SIGNATURE-----



More information about the Zope-Dev mailing list