Modernize to curent build standards

Migrate to pbr, flake8 and hacking. Clean up hacking warnings. Rename
requirements files. Remove cruft from tox.ini.

Change-Id: Ide78ad47de7f275240f729a2bc02745063b084ac
Reviewed-on: https://review.openstack.org/31439
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
diff --git a/setup.cfg b/setup.cfg
index 2612dc5..ef88ce8 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,15 +1,35 @@
-[nosetests]
-cover-package = jeepyb
-cover-html = true
-cover-erase = true
-cover-inclusive = true
-verbosity=2
-detailed-errors=1
+[metadata]
+name = jeepyb
+summary = Tools for managing gerrit projects and external sources.
+description-file =
+    README.rst
+author = OpenStack Infrastructure Team
+author-email = openstack-infra@lists.openstack.org
+home-page = http://ci.openstack.org/
+classifier =
+    Intended Audience :: Information Technology
+    Intended Audience :: System Administrators
+    License :: OSI Approved :: Apache Software License
+    Operating System :: POSIX :: Linux
+    Programming Language :: Python
+    Programming Language :: Python :: 2
+    Programming Language :: Python :: 2.7
+    Programming Language :: Python :: 2.6
 
-[build_sphinx]
-source-dir = doc/source
-build-dir = doc/build
-all_files = 1
+[global]
+setup-hooks =
+    pbr.hooks.setup_hook
 
-[upload_sphinx]
-upload-dir = doc/build/html
+[entry_points]
+console_scripts =
+    close-pull-requests = jeepyb.cmd.close_pull_requests:main
+    expire-old-reviews = jeepyb.cmd.expire_old_reviews:main
+    fetch-remotes = jeepyb.cmd.fetch_remotes:main
+    manage-projects = jeepyb.cmd.manage_projects:main
+    notify-impact = jeepyb.cmd.notify_impact:main
+    openstackwatch = jeepyb.cmd.openstackwatch:main
+    process-cache = jeepyb.cmd.process_cache:main
+    run-mirror = jeepyb.cmd.run_mirror:main
+    trivial-rebase = jeepyb.cmd.trivial_rebase:main
+    update-blueprint = jeepyb.cmd.update_blueprint:main
+    update-bug = jeepyb.cmd.update_bug:main