Hi Danielle,
thx alot for the reference to the advice.
I will report success in my situation to the list

Armin
Am 13.10.2009 um 08:20 schrieb danielle davout:

Tarek Ziade: Python 2.6.3 and Distribute.

Posted 9 days ago

Python 2.6.3 is out, will a lot of bugs fixed. I had my share with
Distutils and fixed quite a few, and 2.6.3 is looking very good so far
!

http://www.ohloh.net/p/plone/rss_articles?page=2

Just a quick note for Setuptools users: you might bump into a problem
if you provide a C extension. ... [More] The setuptools code makes
some assumptions on how and in which order the Distutils build_ext API
are called. It also overrides some of these API to do some internal
extra work. In other words, the way Setuptools patches Distutils makes
it very sensitive to any internal Distutils code changes. In this
particulare case you might have this bug:

File "...setuptools/command/build_ext.py", line 85, in
get_ext_filename KeyError: 'xxx'
The fix is quite simple, it can be done by the end-user or in your
package (which is better of course).

In your package : use “Distribute >= 0.6.3″ distribution instead of the usual “Setuptools == 0.6c9″ distribution in you dependencies list. The code remain unchanged and you can still “import setuptools” and
have it working fine.
As an end-user: just do a Distribute installation and your fine “sudo
easy_install Distribute”


2009/10/13 danielle davout <[email protected]>:
I've read somewhere, sometime ago that with Python 2.6.3, you need
Distribute instead of setuptools but that Python 2.6.4 will work again
with an
unmodified setuptools.

2009/10/13 "Stroß-Radschinski Armin C." <[email protected]>:
Hi list,
I am stucked getting Plone4 dev up. My issue building Zope 2.12.0 while
running Plone4 dev buildout with
http://svn.plone.org/svn/plone/buildouts/plone-coredev/branches/4.0

I still use svn 1.4.6 because the toubles with old instances and new svn. I only know about upward issues with old setuptools using svn 1.5.x and 1.6.x.

any ideas?


System infos:
We are running on Linux with "Ubuntu 8.0.4 LTS Server", with selfcompiled Python 2.6.3 invoked for the instance bootstrap.py via a local virtualenv
and option --no-site-packages.

My buildout fails with:
...
"/home/goa/instances/triplefox4.0/env/lib/python2.6/site-packages/ setuptools-0.6c9-py2.6.egg/setuptools/command/build_ext.py",
line 85, in get_ext_filename
KeyError: 'cAccessControl'
An error occured when trying to install Zope2 2.12.0.Look above this message
for any errors thatwere output by easy_install.
While:
 Installing.
 Getting section instance.
 Initializing section instance.
 Installing recipe plone.recipe.zope2instance.
 Getting distribution for 'Zope2==2.12.0'.
Error: Couldn't install: Zope2 2.12.0



Mit freundlichen Grüßen

Armin Stroß-Radschinski

--
Armin Carl Stroß-Radschinski, Dipl. Designer
acsr infopair, Landgrafenstraße 32, 53842 Troisdorf, Germany

Telefon +49 (0) 22 41 / 94 69 94, FAX +49 (0) 22 41 / 94 69 96
eMail [email protected] - http://www.infopair.com
UST. ID Nr: DE154092803





_______________________________________________
Setup mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/setup

Reply via email to