Skip to content

Commit e3e2c4c

Browse files
author
Antonio Buedo
committed
Merge branch 'master' of github.com:bitpay/python-bitpay-client into package-fix
2 parents 79cffd0 + b18371b commit e3e2c4c

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

GUIDE.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,13 @@ For more information about testing, please see https://bitpay.com/docs/testing
3737

3838
## Installation
3939

40+
### Manual
4041
1. Download the package and extract it into a local directory or clone the repo.
4142
2. cd into the root directory where setup.py is located
4243
3. Enter: python setup.py install
4344

44-
45+
### Using pip
46+
pip install bitpay
4547

4648
### Handling your client private key
4749

setup/bitpay_setup.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,9 @@
11
import os
2-
import sys
32
import json
43
import requests
54

6-
# TODO: Need to remove below 2 lines
7-
root_dir = os.path.dirname(os.path.abspath(__file__))
8-
sys.path.append(os.path.dirname(root_dir))
9-
10-
from src.bitpay.utils.key_utils import *
11-
from src.bitpay.exceptions.bitpay_exception import BitPayException
5+
from bitpay.utils.key_utils import *
6+
from bitpay.exceptions.bitpay_exception import BitPayException
127

138
# Will be set to Test otherwise
149
private_key_name = "private_key.pem" # Add here the name for your Private key

0 commit comments

Comments
 (0)