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

Conversation

greateggsgreg
Copy link
Contributor

Changed console scripts entry points to use names that do not conflict with android's existing tool names

Running setup.py develop/install will create binaries in your Python env's bin/ folder which is likely in the user's path. If the user has the normal 'android-adb-tools' installed or simply the android platform-tools folder in their path AND the Python env this package is installed in, this package takes precedent when 'adb' is run. This might break other programs on the system that expect the regular ADB to run.

Fix: Changed the entry points to be 'pyadb' and 'pyfastboot' so the user still has the choice to run normal 'adb' and 'fastboot'. Feel free to change these entry point names to something else if you do not like the prefixes I've chosen.

@coveralls
Copy link

coveralls commented Mar 3, 2018

Coverage Status

Coverage remained the same at 47.092% when pulling 86491aa on greateggsgreg:console_entry_points_name_clash_fix into c3f93fa on google:master.

@fahhem fahhem merged commit 0b15f4f into google:master Mar 3, 2018
@fahhem
Copy link
Contributor

fahhem commented Mar 3, 2018

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants