I've just released a new zc.buildout recipe which allow to install packages with pip.
I am getting really excited about it because it has many advantages taken from both components.
[buildout]
# the cache dir is used by buildout & pip
download-cache = download
parts = eggs
[eggs]
recipe = gp.recipe.pip
# eggs installed by pip (also add the Deliverance bundle)
install =
Cython
--install-option=--static-deps lxml==2.2alpha1
http://deliverance.openplans.org/dist/Deliverance-snapshot-latest.pybundle
# eggs installed by zc.recipe.egg
eggs =
Paste
pyquery
That's all !! This works perfectly on my Mac OSX and should works on most system.
In fact zc.recipe.egg will work in most cases but when you need a clean sandbox and some extra options, gp.recipe.pip is a good alternative.
Hi I would use a django app inside a django recipe the app is hosted on bitbucket this is my buildout.cfg
[buildout] parts = django
[contact-form] recipe=gp.recipe.pip editables = hg+http://bitbucket.org/ubernostrum/django-contact-form/@tip#egg=contact-form
[django] recipe = djangorecipe version = 1.0.2 extra-paths = ${buildout:directory}/project
wsgi = True eggs = django-autoslug
but I dunno how to get it works $(contact-form} or $(contact-form:location} or $(contact-form:source} or $(contact-form:directory} or $(contact-form:src} ecc... doesn't work do you have some advice ? cheers
I missed a few things: django-autoslug is on pypi so it works the app that I want to use is django-contact-form
pydev is a parts in a config that I didn't paste the error from buildout is Error: Referenced option does not exist: contact-form directory (or any other variable I try to load
Merci.
Dommage que je n'ai pas vu ça avant (install lxml sous RedHat), ça m'aurait rendu service.
Donc ça mérite un peu de buzz ton truc.
@marco if you dont need some C extensions you'd better use gp.vcsdevelop
I tried but I don't understand how to use it the most difficult part for me is: when I create a part how can I include them in the pythonpath of another (for instance inside djangorecipe) regards
@Marco with gp.vcsdevelop you just need to use the vcs-extends-develop to checkout the source then add your packages names in the egg option. That's all