Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Working native Windows instructions #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,19 @@
Available from Rebble project page https://github.com/pebble-dev/pebble-tool/

Definitely works with Python 2.7.

## Windows note

Windows is NOT a supported platform for Pebble (outside of WSL).

However you can get debug trace on native Windows using Python 2.7
by checking out the code and issuing:

python -m pip install -r requirements_py27win.txt

Debug trace can be accessed via:

python pebble.py logs --phone IP_ADDRESS_HERE

Alternatively `setup.py` can be called with the usual `develop` or `install`
parameter.
3 changes: 3 additions & 0 deletions requirements_py27win.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
pyparsing==2.4.7
pyreadline==2.1
-r requirements.txt
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@

if sys.version_info < (3, 4, 0):
requires.append('enum34==1.0.4')
if sys.version_info < (3, 0) and sys.platform.startswith('win'):
requires.insert(0, 'pyparsing==2.4.7')
requires.insert(0, 'pyreadline==2.1')

__version__ = None # Overwritten by executing version.py.
with open('pebble_tool/version.py') as f:
Expand Down