Natim / Thumbnailer

A service that take an url and returns a thumbnail
9 stars 2 forks source link

Distribute WSGI app and engines as separate packages #7

Closed benoitbryon closed 12 years ago

benoitbryon commented 12 years ago

So they should be distributed as separated packages.

Proposal for package names, using namespaces:

"thumbnailer" and "thumbnailer.engines" are just namespaces. So if someone wants to add an engine, he can use the namespace. I mean we don't need some "contrib" level, since everything in "thumbnailer.engines" will be contrib.

Proposal for code layout, without additional repositories:

We can start with a single code repository (this one). Then, if needed, we will still be able to create separate repositories.

Installation may look like pip install thumbnailer.engines.images which will depend on thumbnailer.core.

Then how to register engines with thumbnailer app? Choose a quick-and-dirty solution here. Maybe setuptools/distribute's entry points. We may improve this in another ticket.

benoitbryon commented 12 years ago

This is #6 improved ;)

benoitbryon commented 12 years ago

cb18c31352fc70dfd3a8864ea9bc3be771b1042f closes this ticket. It also introduced #14 question.