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

Add entry_points #74

Description

@delijati

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",
+        ],
+    }
+
 )

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions