From 8e23434d207ffa308eafd00c9e79d25bec0e72d8 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sat, 15 Oct 2011 10:34:22 -0400 Subject: [PATCH] Entry point --- setup.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index e66b58d..2e3f631 100755 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ if sys.argv[-1] == 'publish': setup( name='httpbin', - version='111015', + version='0.0.1', install_requires=open('requirements.txt').readlines(), description='HTTP Request and Response Service.', long_description=open('README.md').read(), @@ -39,4 +39,9 @@ setup( # 'Programming Language :: Python :: 3.1', # 'Programming Language :: Python :: 3.2', ), + entry_points={ + 'console_scripts': [ + 'httpbin = httpbin.runner:main', + ], + } )