Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Add entry_points #74

Closed
delijati opened this issue Jan 9, 2018 · 2 comments
Closed

Add entry_points #74

delijati opened this issue Jan 9, 2018 · 2 comments

Comments

@delijati
Copy link
Contributor

delijati commented Jan 9, 2018

Adding entry_points to setup.py to get console scripts

diff --git a/setup.py b/setup.py
index 7fb1172..ec02932 100644
--- a/setup.py
+++ b/setup.py
@@ -57,5 +57,12 @@ Android project's ADB.
         'Programming Language :: Python :: 2',
         'Programming Language :: Python :: 3',
         'Topic :: Software Development :: Testing'
-        ]
+        ],
+    entry_points={
+        "console_scripts": [
+            "adb = adb.adb_debug:main",
+            "fastboot = adb.fastboot_debug:main",
+        ],
+    }
+
 )
@fahhem
Copy link
Contributor

fahhem commented Feb 26, 2018

Can you send this as a pull request?

@delijati
Copy link
Contributor Author

Done #84

@fahhem fahhem closed this as completed Mar 28, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants