[Distutils] how to use mr.developer?

kiorky kiorky at cryptelium.net
Wed Feb 24 17:52:31 CET 2010


add django-sugar & uni-form to buildout:eggs.

Le 24/02/2010 12:49, }--o a écrit :
> hi,
> 
> I'm just experimenting with distutils, and would like to move my django
> apps under it.
> One of my apps uses django-sugar that should be checked out from github.
> 
> bin/buildout check out my django-sugar repo under src/, and creates an
> egg-link under develop-eggs, but it's not added to sys.path for the
> bin/* binaries.
> Is there a simple way to do it? I've seen the extra_paths variable, but
> then I still have to write each ${buildout:auto-checkout} line again.
> 
> this is my buildout.cfg file:
> 
> [buildout]
> parts = python django-1.1
> develop = .
> eggs =
>     django-contacts
>     django-l10n
>     django-registration
> eggs-directory = /home/nagyv/.buildout/eggs
> find-links = ${buildout:eggs-directory}
> download-cache = /home/nagyv/.buildout/dlcache
> 
> extensions = mr.developer
> sources = sources
> auto-checkout =
>     uni-form
>     sugar
> 
> [python]
> recipe = zc.recipe.egg
> interpreter = python
> eggs = ${buildout:eggs}
> 
> [django-1.1]
> recipe = djangorecipe
> version = 1.1.1
> project = contacts
> projectegg = contacts
> settings = testsettings
> test = contacts
> testrunner = test-1.1
> eggs = ${buildout:eggs}
> 
> [sources]
> uni-form = git git://github.com/nagyv/django-uni-form.git
> <http://github.com/nagyv/django-uni-form.git>
> sugar = git git://github.com/nagyv/django-sugar.git
> <http://github.com/nagyv/django-sugar.git>
> 
> thanks for your help!
> Viktor
> 
> 
> 
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG at python.org
> http://mail.python.org/mailman/listinfo/distutils-sig

-- 
Cordialement,
KiOrKY
GPG Key FingerPrint: 0x1A1194B7681112AF

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20100224/e4421919/attachment.pgp>


More information about the Distutils-SIG mailing list