Mailing List Archive

Zope 2.13.23 installation
hi all,

Tres Seaver wrote:
>On behalf of the Zope Foundation and its members, I'm pleased to
>announce the 2.13.23 release of the Zope2 package:

Great!

>/path/to/venv/bin/pip install \
>https://raw.githubusercontent.com/zopefoundation/Zope/2.13.23/requirements.txt

raboso:/home/zope/2.13.23$ ./bin/pip install https://raw.githubusercontent.com/zopefoundation/Zope/2.13.23/requirements.txt
Downloading/unpacking https://raw.githubusercontent.com/zopefoundation/Zope/2.13.23/requirements.txt
Downloading requirements.txt
Cannot unpack file /tmp/pip-9UQkA6-unpack/requirements.txt (downloaded from /tmp/pip-GQuiZE-build, content-type: text/plain; charset=utf-8); cannot detect archive format
Cannot determine archive format of /tmp/pip-GQuiZE-build
Storing complete log in /home/zope/./.pip/pip.log

---------------

raboso:/home/zope/2.13.23$ ./bin/pip install --index-url=http://download.zope.org/Zope2/index/2.13.23/ Zope2
Downloading/unpacking Zope2
Could not find any downloads that satisfy the requirement Zope2
No distributions at all found for Zope2
Storing complete log in /home/zope/./.pip/pip.log

---------------

raboso:/home/zope/2.13.23$ ./bin/easy_install -i http://download.zope.org/Zope2/index/2.13.23 Zope2
Searching for Zope2
Reading http://download.zope.org/Zope2/index/2.13.23/Zope2/
Couldn't find index page for 'Zope2' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://download.zope.org/Zope2/index/2.13.23/
No local packages or download links found for Zope2
Best match: None
Traceback (most recent call last):
File "./bin/easy_install", line 8, in <module>
load_entry_point('setuptools==0.6c11', 'console_scripts', 'easy_install')()
File "/home/zope/2.13.23/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/easy_install.py", line 1712, in main
File "/home/zope/2.13.23/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/easy_install.py", line 1700, in with_ei_usage
File "/home/zope/2.13.23/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/easy_install.py", line 1716, in <lambda>
File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/home/zope/2.13.23/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/easy_install.py", line 211, in run
File "/home/zope/2.13.23/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/easy_install.py", line 434, in easy_install
File "/home/zope/2.13.23/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/package_index.py", line 475, in fetch_distribution
AttributeError: 'NoneType' object has no attribute 'clone'

---------------

./bin/easy_install ../Zope2-2.13.23.tar.gz works but seems to use the wrong
requirements so Zope2 does not start.

How am I supposed to install Zope2 this time? Which INSTALL.rst,
INSTALL-buildout.rst or INSTALL-virtualenv.rst am I supposed to read (please
provide URL)?

Regards,

Michael Brunnbauer

--
++ Michael Brunnbauer
++ netEstate GmbH
++ Geisenhausener Straße 11a
++ 81379 München
++ Tel +49 89 32 19 77 80
++ Fax +49 89 32 19 77 89
++ E-Mail brunni@netestate.de
++ http://www.netestate.de/
++
++ Sitz: München, HRB Nr.142452 (Handelsregister B München)
++ USt-IdNr. DE221033342
++ Geschäftsführer: Michael Brunnbauer, Franz Brunnbauer
++ Prokurist: Dipl. Kfm. (Univ.) Markus Hendel
Re: Zope 2.13.23 installation [ In reply to ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/01/2015 11:08 AM, Michael Brunnbauer wrote:
> ./bin/easy_install ../Zope2-2.13.23.tar.gz works but seems to use the
> wrong requirements so Zope2 does not start.
>
> How am I supposed to install Zope2 this time? Which INSTALL.rst,
> INSTALL-buildout.rst or INSTALL-virtualenv.rst am I supposed to read
> (please provide URL)?

To use './bin/easy_install', ou need to follow 'INSTALL-virtualenv.rst',
but read between the lines. E.g.

$ $ bin/easy_install \
--index-url=http://download.zope.org/Zope2/index/2.13.23 Zope2

If you want to use pip:

$ ./bin/pip install \

https://raw.githubusercontent.com/zopefoundation/Zope/2.13.23/requirements.txt


Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 tseaver@palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJVlE0nAAoJEPKpaDSJE9HYm94P/jNXluw2A9W0mAOZHITAdpMM
EXuwTj32GKygwM3xPDILd2utvkh+W/RwwUilJGHQKjTL42dlDXNRC80YbscwSOFm
bf0S9Ycms3ggvrE0mUQ2w5flHDqE3YKiHNmt3zG0fKamDMZLt8OKJLIbkARVbyjE
YgEF1LmlIubuwFwbgFxX98d8cEGJOH02mgWWtfEJTJCfdIx2sRYoX9tkbPeUYCDV
ejP37HWyyL3CK1D3Th0Dz6NW2ohNnH5lUk4w/2VH3ZzwjRFL765Wy8Dmqb5AGcQ7
DXYsK87GekK4NY9JLFdglTBy1Y4x0SvnZElm+TwyaO/x+jvElJuirgrxfrdpOBGa
ulrLnil9S+hmQwcPR4KiZT4L+FrWmeZWjxt8FQ3s57i0q/HRAY2q4gahNeDiD03+
Fv7xWO4D7GUSeKE9+wPwDinoFbHa+EC39VVHEgew8LFRpu5yBpHAmw9aLG85Td6w
tQ/LgD90vtLO6ajQz1iai5SmRBhVsRknIIYa0ZZOIfISk+q35yc7j+WlMd3PlocA
EY9s+vMsLtC0IchFjZtaZjEcL2xdgmwayoWqhxaLA5sSYXIUTyddQDDCpuMuFkUP
Ml5R6ZsQqD3OLHgJOS/5v2VPq6Ylro8+VLhfCwOtBALpwavowEcT/b9/gZ+1u0oW
e2fK8+rvfVSciyEKzx+o
=BGlf
-----END PGP SIGNATURE-----

_______________________________________________
Zope maillist - Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope-announce
https://mail.zope.org/mailman/listinfo/zope-dev )
Re: Zope 2.13.23 installation [ In reply to ]
If you want to use pip:
>
> $ ./bin/pip install \
>
>
> https://raw.githubusercontent.com/zopefoundation/Zope/2.13.23/requirements.txt
>
>
> Tres.
> - --
>


I have tried to install zope 2.13.23 using this method in Windows 7 but it
give me error with zc.recipe.egg.

The steps are:
1.- Install python 2.7
2.- Upgrade pip: (python -m pip install -U pip)
3.- Install virtualenv (pip install virtualenv)
4.- Install MS C compiler for python (download and install
http://aka.ms/vcpython27)
5.- Build enviroment
a) cd \zope
b) virtualenv -p c:\python27\python.exe myinstance
6.- Install zope package
a) cd \zope\myinstance
b) scripts\active
c) SET LIB=c:\python27\lib
d) scripts\pip install -r
https://raw.githubusercontent.com/zopefoundation/Zope/2.13.23/requirements.txt


Installing collected packages: setuptools, zope.interface, zope.event,
zope.sche
ma, zope.proxy, zope.component, zope.location, zope.i18nmessageid,
zope.configur
ation, zope.security, zope.contenttype, zope.browser, pytz, zope.i18n,
zope.exce
ptions, zope.publisher, zExceptions, ExtensionClass, Acquisition,
RestrictedPyth
on, transaction, zc.lockfile, ZConfig, zdaemon, ZODB3, Record, Persistence,
zope
.deferredimport, DateTime, zope.testing, AccessControl,
zope.structuredtext, zop
e.sequencesort, DocumentTemplate, MarkupSafe, Jinja2, Missing,
MultiMapping, Pas
te, PasteDeploy, PasteScript, zope.lifecycleevent, zope.broken,
zope.filereprese
ntation, zope.size, zope.traversing, zope.dottedname, zope.container,
zope.annot
ation, zope.site, Products.ZCTextIndex, Products.ExternalMethod, zope.tal,
zope.
tales, zope.pagetemplate, ZopeUndo, tempstorage, Products.OFSP,
Products.ZCatalo
g, zope.sendmail, Products.PythonScripts, Products.MailHost, mechanize,
zope.tes
tbrowser, zLOG, nt-svcutils, zope.browserpage, docutils, zope.browsermenu,
zope.
contentprovider, Products.StandardCacheManagers, zope.viewlet,
zope.processlifet
ime, zope.browserresource, initgroups, Products.MIMETools, zope.ptresource,
Zope
2, Products.BTreeFolder2, Pygments, Sphinx, zc.buildout, mr.developer,
repoze.re
try, repoze.tm2, repoze.who, z3c.checkversions, zc.recipe.egg,
zc.recipe.testrun
ner
Found existing installation: setuptools 23.1.0
Uninstalling setuptools-23.1.0:
Successfully uninstalled setuptools-23.1.0

zc.recipe.egg is in an unsupported or invalid wheel

could someone confirm please?


If before the step 6d (pip install) I install the zc.recipe.egg with
"scripts\easy_install.exe" the pip command is executed correctly

--
________________________________________
Lo bueno de vivir un dia mas
es saber que nos queda un dia menos de vida
Re: Zope 2.13.23 installation [ In reply to ]
I found the issue

https://github.com/pypa/pip/issues/3028

And just for the record.
(control) N:\zope\control>Scripts\pip.exe -V
pip 8.1.2 from n:\zope\control\lib\site-packages (python 2.7)


(control-emisiones3) N:\zope\control>Scripts\pip.exe list
AccessControl (2.13.13)
Acquisition (2.13.9)
DateTime (2.12.8)
DocumentTemplate (2.13.2)
docutils (0.12)
ExtensionClass (2.13.2)
initgroups (2.13.0)
Jinja2 (2.7.3)
MarkupSafe (0.23)
mechanize (0.2.5)
Missing (2.13.1)
mr.developer (1.33)
MultiMapping (2.13.0)
nt-svcutils (2.13.0)
Paste (1.7.5.1)
PasteDeploy (1.3.4)
PasteScript (1.7.5)
Persistence (2.13.2)
pip (8.1.2)
Products.BTreeFolder2 (2.13.5)
Products.ExternalMethod (2.13.1)
Products.MailHost (2.13.2)
Products.MIMETools (2.13.0)
Products.OFSP (2.13.2)
Products.PythonScripts (2.13.2)
Products.StandardCacheManagers (2.13.1)
Products.ZCatalog (2.13.27)
Products.ZCTextIndex (2.13.5)
Pygments (2.0.2)
pytz (2015.4)
Record (2.13.0)
repoze.retry (1.2)
repoze.tm2 (1.0)
repoze.who (2.0)
RestrictedPython (3.6.0)
setuptools (18.0.1)
Sphinx (1.0.8)
tempstorage (2.12.2)
transaction (1.1.1)
wheel (0.29.0)
z3c.checkversions (0.5)
zc.buildout (2.3.1)
zc.lockfile (1.0.2)
zc.recipe.egg (2.0.3)
zc.recipe.testrunner (1.2.1)
ZConfig (2.9.3)
zdaemon (2.0.7)
zExceptions (2.13.0)
zLOG (2.11.2)
ZODB3 (3.10.5)
zope.annotation (3.5.0)
zope.broken (3.6.0)
zope.browser (1.3)
zope.browsermenu (3.9.1)
zope.browserpage (3.12.2)
zope.browserresource (3.10.3)
zope.component (3.9.5)
zope.configuration (3.7.4)
zope.container (3.11.2)
zope.contentprovider (3.7.2)
zope.contenttype (3.5.5)
zope.deferredimport (3.5.3)
zope.dottedname (3.4.6)
zope.event (3.5.2)
zope.exceptions (3.6.2)
zope.filerepresentation (3.6.1)
zope.i18n (3.7.4)
zope.i18nmessageid (3.5.3)
zope.interface (3.6.7)
zope.lifecycleevent (3.6.2)
zope.location (3.9.1)
zope.pagetemplate (3.5.2)
zope.processlifetime (1.0)
zope.proxy (3.6.1)
zope.ptresource (3.9.0)
zope.publisher (3.12.6)
zope.schema (3.7.1)
zope.security (3.7.4)
zope.sendmail (3.7.5)
zope.sequencesort (3.4.0)
zope.site (3.9.2)
zope.size (3.4.1)
zope.structuredtext (3.5.1)
zope.tal (3.5.2)
zope.tales (3.5.3)
zope.testbrowser (3.11.1)
zope.testing (3.9.7)
zope.traversing (3.13.2)
zope.viewlet (3.7.2)
Zope2 (2.13.23)
ZopeUndo (2.12.0)

--
________________________________________
Lo bueno de vivir un dia mas
es saber que nos queda un dia menos de vida