Bug#732421: python-zc.buildout: requires setuptools>=0.7 which is not in wheezy
Gediminas Paulauskas
menesis at pov.lt
Wed Dec 18 08:25:09 UTC 2013
Buildout itself does not require a newer version of setuptools, 0.6c11 is
enough. But the init command bootstraps a new buildout by downloading the
newest version of distribute and this fails. This started happening when
setuptools/distribute merged and setuptools 0.7 was released.
buildout init only creates an empty buildout.cfg file. It's not very useful.
The recommended way is to write the buildout.cfg, create a virtualenv and
bootstrap a self-contained buildout:
virtualenv sandbox
wget http://downloads.buildout.org/1/bootstrap.py
python bootstrap.py
bin/buildout
I never use the system buildout.
2013/12/17 Ryan Nowakowski <ryan at keyingredient.com>
> Package: python-zc.buildout
> Version: 1.5.2-1
> Severity: normal
>
> It seems that buildout 1.5.2 requires setuptools>=0.7 which is not is
> wheezy:
>
> tubaman at cuisine:~/myproj$ buildout2.7 init
> Creating '/home/tubaman/myproj/buildout.cfg'.
> Creating directory '/home/tubaman/myproj/bin'.
> Creating directory '/home/tubaman/myproj/parts'.
> Creating directory '/home/tubaman/myproj/eggs'.
> Creating directory '/home/tubaman/myproj/develop-eggs'.
> Getting distribution for 'distribute'.
> warning: install_lib: 'build/lib.linux-x86_64-2.7' does not exist -- no
> Python modules to install
>
> Got distribute 0.7.3.
> Getting distribution for 'zc.buildout'.
> Got zc.buildout 2.2.1.
> While:
> Bootstrapping.
>
> An internal error occurred due to a bug in either zc.buildout or in a
> recipe being used:
> Traceback (most recent call last):
> File "/usr/lib/python2.7/dist-packages/zc/buildout/buildout.py", line
> 1805, in main
> getattr(buildout, command)(args)
> File "/usr/lib/python2.7/dist-packages/zc/buildout/buildout.py", line
> 393, in bootstrap
> ws.require('zc.buildout')
> File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 686, in
> require
> needed = self.resolve(parse_requirements(requirements))
> File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 584, in
> resolve
> raise DistributionNotFound(req)
> DistributionNotFound: setuptools>=0.7
> tubaman at cuisine:~/myproj$
>
> -- System Information:
> Debian Release: 7.2
> APT prefers stable-updates
> APT policy: (500, 'stable-updates'), (500, 'stable')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
>
> Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
>
> Versions of packages python-zc.buildout depends on:
> ii python 2.7.3-4+deb7u1
> ii python-pkg-resources 0.6.24-1
> ii python2.6 2.6.8-1.1
> ii python2.7 2.7.3-6
>
> python-zc.buildout recommends no packages.
>
> python-zc.buildout suggests no packages.
>
> -- no debconf information
>
> _______________________________________________
> pkg-zope-developers mailing list
> pkg-zope-developers at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-zope-developers
>
--
Gediminas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-zope-developers/attachments/20131218/0a3f1674/attachment.html>
More information about the pkg-zope-developers
mailing list