[Distutils] bug in z3c.recipe.scripts
Jim Fulton
jim at zope.com
Thu Feb 14 15:20:05 CET 2013
z3c.recipe.scripts doesn't work with buildout 2. It never will.
You need to downgrade to version 1 using the version 1 bootstrap script:
http://downloads.buildout.org/1/bootstrap.py
In the long run, you'll want to change your buildouts to use zc.recipe.egg
instead.
Jim
On Thu, Feb 14, 2013 at 7:36 AM, Paul Korzhyk <paul.korzhyk at gmail.com> wrote:
> Hi,
>
> I'm struggling to find a workaround for this issue (tail of the stack trace
> only):
>
> File
> "/Users/paulkorzhyk/Projects/foobar/eggs/z3c.recipe.scripts-1.0.1-py2.7.egg/z3c/recipe/scripts/__init__.py",
> line 1, in <module>
> from z3c.recipe.scripts.scripts import Scripts, Interpreter
> File
> "/Users/paulkorzhyk/Projects/foobar/eggs/z3c.recipe.scripts-1.0.1-py2.7.egg/z3c/recipe/scripts/scripts.py",
> line 19, in <module>
> from zc.recipe.egg.egg import ScriptBase
> ImportError: cannot import name ScriptBase
>
>
>
> It's quite frustrating that z3c.recipe.scripts page on pypi doesn't link to
> a real project page or mailing list.
> Can anyone suggest a workaround or file a bug on a proper tracker?
>
> I've come across this article:
> http://blog.gocept.com/2012/11/09/python-2-and-3-compatible-builds-with-zc-buildout/
> but for some reason manual version-fixing didn't work on my machine. Will
> look into it again tomorrow.
>
>
> --
> Paul Korzhyk
> Sent with Sparrow
>
>
> _______________________________________________
> Distutils-SIG maillist - Distutils-SIG at python.org
> http://mail.python.org/mailman/listinfo/distutils-sig
>
--
Jim Fulton
http://www.linkedin.com/in/jimfulton
Jerky is better than bacon! http://zo.pe/Kqm
More information about the Distutils-SIG
mailing list