Add `pants_plugin` and `contrib_plugin` targets.

Review Request #2615 - Created Aug. 13, 2015 and submitted

Information
John Sirois
pants
jsirois/issues/1967
1967, 1968
b68f16a...
Reviewers
pants-reviews
davidt, gmalmquist, jinfeng, mateor
These targets support easy adoption of pants own plugin entry_points to
allow for one less step when installing pants plugins.

The existing plugins are converted to use these targets and the contrib
README is updated to reflect the new best-practice boilerplate.

 build-support/bin/release.sh                                    |  11 ++----
 build-support/virtualenv                                        |   2 +-
 contrib/README.md                                               |  38 ++++++++++++-------
 contrib/cpp/src/python/pants/contrib/cpp/BUILD                  |  11 +++---
 contrib/go/src/python/pants/contrib/go/BUILD                    |  11 +++---
 contrib/release_packages.sh                                     |  11 ++++--
 contrib/scrooge/src/python/pants/contrib/scrooge/BUILD          |  16 ++++----
 contrib/spindle/src/python/pants/contrib/spindle/BUILD          |  17 ++++-----
 pants-plugins/src/python/internal_backend/utilities/register.py | 101 +++++++++++++++++++++++++++++++++++++++++++++++---
 src/python/pants/backend/android/BUILD                          |  36 +++++++++---------
 src/python/pants/base/extension_loader.py                       |   4 +-
 11 files changed, 175 insertions(+), 83 deletions(-)

Tested that the re-vamped plugin install tests that use the new
entry_points worked via: ./build-support/bin/release.sh -n

CI went green here:
https://travis-ci.org/pantsbuild/pants/builds/75535801

John Sirois
Stu Hood
John Sirois
John Sirois
John Sirois
Review request changed

Status: Closed (submitted)

Loading...