[Distutils] [buildout] Impossible to install develop eggs

Jim Fulton jim at zope.com
Thu Mar 18 20:23:10 CET 2010


On Thu, Mar 18, 2010 at 2:05 PM, Saint Germain <saintger at gmail.com> wrote:
> Hello,
>
> I'm trying to use buildout with develop eggs, but it seems that they cannot
> be installed.
>
> Here is the scenario :
>
> 1)
> I create a simple project in /home/user/project
> mkdir mymodule
> touch mymodule/__init__.py
> echo -e "from setuptools import setup\nPACKAGE = 'mymodule'\nVERSION =
> '0.1'\nsetup(name=PACKAGE, version=VERSION, packages=['mymodule'] )" >
> setup.py
>
> 2) I use the following buildout.cfg
> [buildout]
> develop = /home/af79141/project
> parts = eggs
>
> [eggs]
> recipe = zc.recipe.egg
> eggs = mymodule
>
> 3) I copy bootstrap.py in the directory
> (http://svn.zope.org/*checkout*/zc.buildout/trunk/bootstrap/bootstrap.py)
>
> 4) python bootstrap.py
>
> 5) bin/buildout
>
> I end up with the following content:
> bin
> bootstrap.py
> buildout.cfg
> develop-eggs
> eggs
> parts
>
> No lib/python/site-packages are created !

Nor should they.  When you use develop eggs, they are added to the
develop-eggs directory.


> But there is a file mymodule.egg-link in develop-eggs with the following
> content:
> /home/users/project

Yup, that's what you should get.


> .
> What am I doing wrong ?

I don't know, what are you trying to do?

Jim

-- 
Jim Fulton


More information about the Distutils-SIG mailing list