Benoit Caron <[email protected]> writes:
> It seemed very natural for me to put this in contrib.project, but is
> this the right place?
>
> Should Fabric have a special way to "glue" 3rd-party recipes? Or am I
> just shy of putting stuff into the "real" thing? ;)
>
Installation as a separate module might be preferable in some cases:

  $ easy_install yourpackage

And then in fabfile:

  from fabric import snapshot_project

It requires fabric to use `pkg_resources.iter_entry_points()` or similar
and `yourpackage` to define entry point in its ``setup.py``:

  setup(...
      entry_points="""
      [fabric.command]
      snapshot_project = yourpackage.mod:Command
      """)


-- 
Akira.


_______________________________________________
Fab-user mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/fab-user

Reply via email to