Use entrypoints for zuul-server.

If we put the code for zuul-server into the zuul module, then autodoc
will pick it up for documentation.

Change-Id: Idf2db82f706243c6e69984170b4783f1eece2237
Reviewed-on: https://review.openstack.org/16850
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
diff --git a/setup.py b/setup.py
index 46e2659..6ad7ebe 100644
--- a/setup.py
+++ b/setup.py
@@ -35,7 +35,6 @@
     cmdclass=setup.get_cmdclass(),
     install_requires=requires,
     dependency_links=depend_links,
-    scripts=['zuul-server'],
     zip_safe=False,
     classifiers=[
         'Environment :: Console',
@@ -44,5 +43,10 @@
         'License :: OSI Approved :: Apache Software License',
         'Operating System :: OS Independent',
         'Programming Language :: Python'
-    ]
+    ],
+    entry_points={
+        'console_scripts': [
+            'zuul-server=zuul.cmd.server:main',
+        ],
+    }
 )