From 3ab418539fb1f5e6b8cea2b74c0baeef081bc2f7 Mon Sep 17 00:00:00 2001
From: Jameson Graef Rollins <jrollins@finestructure.net>
Date: Fri, 1 Jun 2018 16:06:15 -0700
Subject: [PATCH] setuptools entry point for CLI

automatic creation of the commad line interface script
---
 setup.py | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/setup.py b/setup.py
index 261ca041..8113c907 100755
--- a/setup.py
+++ b/setup.py
@@ -37,6 +37,12 @@ setup_args = dict(
         exclude = ['docs',],
     ),
 
+    entry_points={
+        'console_scripts': [
+            'gwinc = gwinc.__main__:main',
+        ],
+    },
+
     include_package_data = True,
     zip_safe = True,
 )
-- 
GitLab