7c3374
diff --git a/setup.py b/setup.py
7c3374
index 15d68ab..cf6dc5b 100755
7c3374
--- a/setup.py
7c3374
+++ b/setup.py
7c3374
@@ -115,4 +115,6 @@ setup(
7c3374
     ext_modules=ext_mod,
7c3374
     py_modules=['pyinotify'],
7c3374
     package_dir=package_dir,
7c3374
+    entry_points = { 'console_scripts' :
7c3374
+                     [ 'pyinotify = pyinotify:command_line', ] },
7c3374
     )