Permalink
Browse files

Fixed issue with buildout and Distribute.

Using $ python bootstrap.py -d
caused the following error.
While:
  Bootstrapping.
  Getting distribution for 'distribute'.
Error: Picked: distribute = 0.6.15

Looks like it is an interaction of buildout's
allow-picked-versions=false option and the fact that
Distribute impersonates setuptools.
Pin Distribute explicitly in versions.cfg
  • Loading branch information...
rspivak committed Mar 21, 2011
1 parent cff1a35 commit a06e886c2686281558e46e74280c3a5d111d37e6
Showing with 2 additions and 1 deletion.
  1. +1 −1 setup.py
  2. +1 −0 versions.cfg
View
@@ -44,7 +44,7 @@
author_email='ruslan.spivak@gmail.com',
packages=find_packages('src'),
package_dir={'': 'src'},
- install_requires=['setuptools'],
+ install_requires=['distribute'],
zip_safe=False,
entry_points="""\
[console_scripts]
View
@@ -11,6 +11,7 @@ z3c.recipe.scripts = 1.0.1
zc.buildout = 1.5.2
zc.recipe.egg = 1.3.2
zc.recipe.testrunner = 1.4.0
+distribute = 0.6.15
#Required by:
#serval 0.1

0 comments on commit a06e886

Please sign in to comment.