[Distutils] [buildout] Impossible to install develop eggs

Mathieu Leduc-Hamel marrakis at gmail.com
Thu Mar 18 19:13:19 CET 2010


No you're not right here. With buildout, when you are using the
develop clause, it create a link in the develop-eggs dir and if look
inside the new file it would point to your package directory directly.

After that you can install the egg in the "eggs' section and use it
directly as it would be installed from pypi.

is it working correctly ?

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 !
> But there is a file mymodule.egg-link in develop-eggs with the following
> content:
> /home/users/project
> .
> What am I doing wrong ?
> I was expecting a created file like lib/python/site-packages/mymodule ?
>
> Thanks in advance,
>
>
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG at python.org
> http://mail.python.org/mailman/listinfo/distutils-sig
>
>


More information about the Distutils-SIG mailing list