Skip to content
This repository was archived by the owner on Oct 16, 2024. It is now read-only.

Commit 66e0945

Browse files
committed
Update build instructions
1 parent fa62e2a commit 66e0945

File tree

1 file changed

+9
-18
lines changed

1 file changed

+9
-18
lines changed

README.md

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,24 @@
11
btchip-python
22
=============
33

4-
Python samples for BTChip - work in progress
4+
Python communication library for Ledger Hardware Wallet products
55

66
Requirements
77
-------------
88

9-
This API requires cython-hidapi version 0.7.99 (at least).
9+
This API is available on pip - install with pip install btchip-python
1010

11-
To install cython-hidapi, refer to the instructions on https://github.com/trezor/cython-hidapi until a packaged version is available. Interim Debian packages have been built by Richard Ulrich at https://launchpad.net/~richi-paraeasy/+archive/ubuntu/bitcoin/ (btchip-python, hidapi and python-hidapi)
11+
Building on a Unix platform requires libusb-1.0-0-dev and libudev-dev installed previously
12+
13+
Interim Debian packages have also been built by Richard Ulrich at https://launchpad.net/~richi-paraeasy/+archive/ubuntu/bitcoin/ (btchip-python, hidapi and python-hidapi)
1214

1315
For optional BIP 39 support during dongle setup, also install https://github.com/trezor/python-mnemonic - also available as a Debian package at the previous link (python-mnemonic)
1416

1517
Building on Windows
1618
--------------------
1719

18-
- Download and install Python from https://www.python.org/ftp/python/2.7.8/python-2.7.8.msi
19-
- Download and install Python QT from http://downloads.sourceforge.net/project/pyqt/PyQt4/PyQt-4.11.1/PyQt4-4.11.1-gpl-Py2.7-Qt4.8.6-x32.exe
20-
- Download and install PyWin32 from http://sourceforge.net/projects/pywin32/files/pywin32/Build%20218/pywin32-218.win32-py2.7.exe/download
21-
- Download MinGW setup from http://sourceforge.net/projects/mingw/files/Installer/mingw-get-setup.exe/download
22-
- Install mingw32-gcc-g++ and mingw32-libz (dev and dll)
23-
- Create a /Lib/disutils/distutils.cfg file in your Python installation directory (typically /Python27) containing the following content
24-
25-
```
26-
[build]
27-
compliler=mingw32
28-
```
29-
30-
- Install distribute from https://gist.githubusercontent.com/anonymous/947191a4635cd7b7f79a/raw/36054b7f8d7b0c4c172628fd9bd16f46e53bb34b/distribute_setup.py
31-
- Install the dependencies by running /Python27/Scripts/easy_install.exe cython hidapi
32-
20+
- Download and install the latest Python 2.7 version from https://www.python.org/downloads/windows/
21+
- Install Microsoft Visual C++ Compiler for Python 2.7 from http://www.microsoft.com/en-us/download/details.aspx?id=44266
22+
- Download and install PyQt4 for Python 2.7 from https://www.riverbankcomputing.com/software/pyqt/download
23+
- Install the btchip library (open a command prompt and enter c:\python27\scripts\pip install btchip)
3324

0 commit comments

Comments
 (0)