Update setup.sh

- Fix pypa fetch url
- Remove pycrypto, as it breaks pycryptodome

Signed-off-by: rokibhasansagar <rokibhasansagar2014@outlook.com>
This commit is contained in:
Rokib Hasan Sagar 2021-04-04 13:19:20 +06:00 committed by rokibhasansagar
parent 9a34af653d
commit 5ad4c9bf89
No known key found for this signature in database
GPG Key ID: 2A43163956D6C2A7

View File

@ -27,9 +27,8 @@ elif grep -q ^ID_LIKE=debian$ /etc/os-release; then
fi
if [ $? -eq 0 ]; then
wget -q -O get-pip.py https://github.com/pypa/get-pip/raw/master/get-pip.py
wget -q -O get-pip.py https://bootstrap.pypa.io/get-pip.py
python3 get-pip.py --upgrade --disable-pip-version-check --no-cache-dir
rm -f get-pip.py
pip3 install future requests humanize clint backports.lzma lz4 zstandard protobuf pycrypto pycryptodome docopt
pip3 install future requests humanize clint backports.lzma lz4 zstandard protobuf pycryptodome docopt
fi