Skip to content
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
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@ Building on Windows requires the installation of [git](https://git-scm.com/downl
cd bin
# Then just execute the package script. The result will be a zip file containing your executable.
./package
# Or you can choose to install it use conda env
conda create -n gdc python=3.7
conda activate gdc
git clone https://github.com/NCI-GDC/gdc-client
cd gdc-client
pip install -r requirements.txt
vim bin/gdc-client #修改 import OpenSSL为import ssl
python setup.py install 2>&1 | tee -a install.log
```

## Executing unit tests
Expand Down
7 changes: 6 additions & 1 deletion bin/gdc-client
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,14 @@ from gdc_client.common.config import GDCClientConfigShared, GDCClientArgumentPar
####################################################
# These packages are important but PyInstaller won't
# bundle them unless they are imported
# For CentOS with python3.7, pyOpenSSL version 18.0.0,
# you need to use "import ssl" instead of "import OpenSSL"
# to solve the error about "sslv3_server_method" occured
# when you try to run gdc-client
import cffi
import cryptography
import OpenSSL
#import OpenSSL
import ssl
import ndg.httpsclient
import pyasn1

Expand Down