Hi Eric,
Thanks for getting me up to speed! That was very useful!
Cheers,
Mike
Thanks guys for bringing this up here. This is what I know about the
topic:
At my last year's Google Summer of Code project I worked on making
Django apps easier to use. One result was the django-package project
[1] that changes the way the 'startapp' command works, adds an
'editapp' command and uses setuptools with (I think) nifty functions
to provide metadata. This is for the most part obsolete now of course,
partly because Adrian changed the API a week before the deadline,
partly because of my later django-reusableapps app and partly because
of the redesign of INSTALLED_APPS and the app loading mechanism that
was discussed at Pycon (as mentioned by Eric) that will make it much
easier to hook into Django. For me this simple design decision was
worth the trip to Chicago :)
The django-reusableapps app is caught between two stools at the
moment. As far as I know it still works for the current trunk und I
use it in several projects myself. setuptools is a great way to track
dependencies and makes automatic installation a piece of a cake.
Especially the '--index-url' option of easy_install is convenient. But
I also hear the mumble in the Python community (remember Zed Shaw's
easy_fucking_uninstall [2]) and sensed no real will at the Pycon
sprint to re-add setuptools support to Django core. Though that might
change once setuptools merge with distutils. Anyway I'm willing to
support django-reusableapps in the future, making it a bridge between
setuptools/distutils and Django's own metadata functionality. For
example the new django.core.managment module makes it easy to create a
'package' command that builds eggs from a reusable app. Feel free to
ask me for access to the Google Code project.
As Eric already said we worked hard on an app index at djangoapps.net
which I intially registered to host my Summer of Code results. As you
can see in the code at http://djangoapps.net/trac/ it's fairly done
and only needs some finishing touches to be released. Integration with
djangosites.org sounds interesting but IMO should be done by providing
an API or similiar. Having OpenID integration in djangoapps.net makes
it very easy for users to recommend, bookmark or comment on apps.
Cheers,
Jannis
1: http://code.google.com/p/django-package/
2: http://www.zedshaw.com/blog/2008-03-16.html
Hi Ross,
Good idea. Opening up community-driven application metadata via shared
databases or an API would be very useful.
> Before either I or Eric go much further, perhaps we can look at
> working together as there is no need for two application indexes. I
> think using the existing userbase is a great idea, as the sheer number
> of logins people now have for different Django community sites is
> growing rapidly.
Yes, minimizing duplication of effort is ideal.
Someday seeing the app index integrated into the mothership at
apps.djangoproject.com would be another interesting possibility.
Cheers,
Mike
Excellent!
> change once setuptools merge with distutils. Anyway I'm willing to
> support django-reusableapps in the future, making it a bridge between
> setuptools/distutils and Django's own metadata functionality. For
> example the new django.core.managment module makes it easy to create a
> 'package' command that builds eggs from a reusable app. Feel free to
> ask me for access to the Google Code project.
Thanks Jannis! This sounds very promising... I'll check it out further.
Cheers,
Mike