File tree Expand file tree Collapse file tree 3 files changed +40
-1
lines changed Expand file tree Collapse file tree 3 files changed +40
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+
8+ jobs :
9+ pypi-publish :
10+ name : Upload release to PyPI
11+ runs-on : ubuntu-latest
12+ environment :
13+ name : pypi
14+ url : https://pypi.org/p/python-hdwallet-slip39
15+ permissions :
16+ id-token : write # IMPORTANT: this permission is mandatory for trusted publishing
17+ steps :
18+ - name : Checkout
19+ uses : actions/checkout@v3
20+ - name : Set up Python
21+ uses : actions/setup-python@v4
22+ - name : Build
23+ run : |
24+ python -m pip install -r requirements-dev.txt
25+ python -m build .
26+ - name : Publish package distributions to PyPI
27+ uses : pypa/gh-action-pypi-publish@release/v1
Original file line number Diff line number Diff line change @@ -12,6 +12,8 @@ VENV_NAME = $(GHUB_NAME)-$(VERSION)-$(PY3_V)
1212VENV = $(VENV_DIR ) /$(VENV_NAME )
1313VENV_OPTS =
1414
15+ NIX_OPTS ?= # --pure
16+
1517.PHONY : all test build build-check wheel install-dev install clean FORCE
1618
1719all : build
@@ -27,7 +29,7 @@ unit-%:
2729 $(PY3TEST ) -k $*
2830
2931nix-% :
30- nix-shell --pure --run " make $* "
32+ nix-shell $( NIX_OPTS ) --run " make $* "
3133
3234build : clean wheel
3335
Original file line number Diff line number Diff line change 11# Hierarchical Deterministic Wallet
22
3+ > Note: This hdwallet-slip39 package is a temporary upgrade shim for the great hdwallet package
4+ > https://pypi.org/project/hdwallet/ .
5+
6+ > Use it only until the upstream hdwallet package merges support for BSC, Nix, etc in :
7+ > https://github.com/meherett/python-hdwallet/pull/1020
8+
9+ > Until then, substitute "hdwallet-slip39" for "hdwallet" in your "pip install" or requirements.txt
10+ > Both supply the hdwallet package, eg. "import hdwallet". Specify version >= 2.3 to ensure you are
11+ > using this shim.
12+
313[ ![ Build Status] ( https://app.travis-ci.com/meherett/python-hdwallet.svg?branch=master )] ( https://app.travis-ci.com/meherett/python-hdwallet )
414[ ![ PyPI Version] ( https://img.shields.io/pypi/v/hdwallet.svg?color=blue )] ( https://pypi.org/project/hdwallet )
515[ ![ Documentation Status] ( https://readthedocs.org/projects/hdwallet/badge/?version=master )] ( https://hdwallet.readthedocs.io )
You can’t perform that action at this time.
0 commit comments