Zope3 installation on windows - how?
Hi, I currently try to install Zope3-4.0c1 on a windows machine, without any success for now. What I need is an installation that includes basically all packages that are in the tarball into the python path. I tried the following: 1) Tarball: Here, install.py fails due to some compiler problems - it suggests to specify "-c mingw32", however, when I do so, install.py complains that it does not know this "-c mingw32" option. Something like "python install.py build_ext -cmingw32" works, it seems that all needed packages are correctly compiled. When I try a "python install.py install" afterwards, it once again complains that it needs mingw32. So I'm stuck. 2) I tried installing it via the descriptions given here: http://wiki.zope.org/zope3/Zope340c1 $ svn co svn://svn.zope.org/repos/main/z3c.formdemo/tags/1.5.1 formdemo $ cd formdemo $ python bootstrap.py $ ./bin/buildout -v This gives me some buildout error. 3) Next I tried the information from here: http://wiki.zope.org/zope3/MakingARelease svn co svn+ssh://svn.zope.org/repos/main/zope.release/branches/3.4 release-3.4 $ cd release-3.4 $ py24 bootstrap.py $ ./bin/buildout -N And there's once again this mingw32 problem. 4) Next, I tried zopeproject: $ easy_install zopeproject $ zopeproject HelloWorld First, zopeproject does not install the packages into the Python site-packages, moreover, there's once again the "mingw32" problem which I'm unable to solve. What can I do? Is there perhaps some precompiled Windows distribution for Zope-3.4 available? Or is there some trick to make things work with mingw32? Best Regards, Hermann -- hermann@qwer.tk GPG key ID: 299893C7 (on keyservers) FP: 0124 2584 8809 EF2A DBF9 4902 64B4 D16B 2998 93C7
Am Mittwoch, 9. Juli 2008 11:14 schrieb Hermann Himmelbauer:
Hi, I currently try to install Zope3-4.0c1 on a windows machine, without any success for now. What I need is an installation that includes basically all packages that are in the tarball into the python path. I tried the following:
1) Tarball: Here, install.py fails due to some compiler problems - it suggests to specify "-c mingw32", however, when I do so, install.py complains that it does not know this "-c mingw32" option. Something like "python install.py build_ext -cmingw32" works, it seems that all needed packages are correctly compiled. When I try a "python install.py install" afterwards, it once again complains that it needs mingw32. So I'm stuck.
Ok, thanks to a helpful hint, I was able to solve it. One has to create a file "pydistutils.py" in a directory, which is specified in an environment variable "HOME" with the following content: [build] compiler=mingw32 Then the "python install.py install" in the tarball worked. Nevertheless, it would be optimal, if "install.py" is adapted in a way so that "-c mingw32" works... Regards, Hermann -- hermann@qwer.tk GPG key ID: 299893C7 (on keyservers) FP: 0124 2584 8809 EF2A DBF9 4902 64B4 D16B 2998 93C7
Hermann Himmelbauer wrote:
And there's once again this mingw32 problem.
4) Next, I tried zopeproject: $ easy_install zopeproject $ zopeproject HelloWorld
First, zopeproject does not install the packages into the Python site-packages,
That's *intended*. That's, in fact, much better than stuffing about a 100 eggs into site-packages...
What can I do? Is there perhaps some precompiled Windows distribution for Zope-3.4 available?
All Zope 3.4 packages that have C extensions are available as Windows binaries, though perhaps not in all versions. The versions in the KGS should all be available as Windows binaries, though. Just include http://download.zope.org/zope3.4/versions.cfg in your buildout.cfg.
participants (2)
-
Hermann Himmelbauer -
Philipp von Weitershausen