From ea76fbdf911a8e8a5a32775067edddc1d95938fc Mon Sep 17 00:00:00 2001 From: Chris Jerdonek Date: Sat, 14 Apr 2012 11:47:42 -0700 Subject: Added pystache-test as a console script entry point in setup.py. --- setup.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index d910383..317d539 100644 --- a/setup.py +++ b/setup.py @@ -156,8 +156,11 @@ else: INSTALL_REQUIRES = requires +# TODO: decide whether to use find_packages() instead. I'm not sure that +# find_packages() is available with distutils, for example. PACKAGES = [ 'pystache', + 'pystache.commands', # The following packages are only for testing. 'examples', 'pystache.tests', @@ -194,7 +197,10 @@ def main(sys_argv): }, test_suite='pystache.tests', entry_points = { - 'console_scripts': ['pystache=pystache.commands.render:main'], + 'console_scripts': [ + 'pystache=pystache.commands.render:main', + 'pystache-test=pystache.commands.test:main', + ], }, classifiers = CLASSIFIERS, **extra -- cgit v1.2.1