Skip to content

Commit

Permalink
fixed CI
Browse files Browse the repository at this point in the history
  • Loading branch information
fametrano committed Nov 5, 2020
1 parent 3631e01 commit ff0153a
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 41 deletions.
1 change: 0 additions & 1 deletion .travis.yml
@@ -1,6 +1,5 @@
language: python
python:
- "3.7"
- "3.8"
- "3.9"
install:
Expand Down
82 changes: 42 additions & 40 deletions README.md
Expand Up @@ -34,46 +34,6 @@ some of its algorithms could be broken using side-channel attacks.
[![GitHub License](https://img.shields.io/github/license/btclib-org/btclib.svg)](https://github.com/btclib-org/btclib/blob/master/LICENSE)
[![Follow on Twitter](https://img.shields.io/twitter/follow/btclib?style=social&logo=twitter)](https://twitter.com/intent/follow?screen_name=btclib)

To install (and/or upgrade) btclib and its requirements:

python -m pip install --upgrade -r requirements.txt
python -m pip install --upgrade btclib

You might want to install btclib and its requirements into a
python virtual environment; e.g. from the root folder:

Bash shell

python -m venv venv
source venv/bin/activate
pip install --upgrade -r requirements.txt
pip install --upgrade btclib

Windows CMD or PowerShell:

python -m venv venv
.\venv\Scripts\activate
pip install --upgrade -r requirements.txt
pip install --upgrade btclib

Windows Git bash shell:

python -m venv venv
cd ./venv/Scripts
. activate
cd ../..
pip install --upgrade -r requirements.txt
pip install --upgrade btclib

Some development tools are required to develop and test btclib;
they can be installed with:

python -m pip install --upgrade -r requirements-dev.txt

Developers might also consider to install btclib in editable way:

python -m pip install --upgrade -e ./

* * *

Included features are:
Expand Down Expand Up @@ -125,3 +85,45 @@ Included features are:
- [BIP174](https://github.com/bitcoin/bips/blob/master/bip-0174.mediawiki)
partially signed bitcoin transactions (PSBT):
PsbtIn, PbstOut, and Psbt data classes

* * *

To install (and/or upgrade) btclib and its requirements:

python -m pip install --upgrade -r requirements.txt
python -m pip install --upgrade btclib

You might want to install btclib and its requirements into a
python virtual environment; e.g. from the root folder:

Bash shell

python -m venv venv
source venv/bin/activate
pip install --upgrade -r requirements.txt
pip install --upgrade btclib

Windows CMD or PowerShell:

python -m venv venv
.\venv\Scripts\activate
pip install --upgrade -r requirements.txt
pip install --upgrade btclib

Windows Git bash shell:

python -m venv venv
cd ./venv/Scripts
. activate
cd ../..
pip install --upgrade -r requirements.txt
pip install --upgrade btclib

Some development tools are required to develop and test btclib;
they can be installed with:

python -m pip install --upgrade -r requirements-dev.txt

Developers might also consider to install btclib in editable way:

python -m pip install --upgrade -e ./
1 change: 1 addition & 0 deletions setup.py
Expand Up @@ -35,6 +35,7 @@
classifiers=[
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Education",
Expand Down

0 comments on commit ff0153a

Please sign in to comment.