fix tox build and tests

Signed-off-by: Sam Korn <korn94sam@gmail.com>
This commit is contained in:
Sam Korn committed 2022-08-04 12:13:05 -06:00
1 parent d50e2a6832
commit 4396ebaa72
6 files changed
+29 -3

No files matched your search

+1
View File
@@ -9,6 +9,7 @@ libbdkffi.dylib
*.swp
src/bdkpython/bdk.py
src/bdkpython/*.so
*.whl
build/
+1
View File
@@ -20,6 +20,7 @@ The format is based on [Keep a Changelog], and this project adheres to [Semantic
- Add sqlite database support
- Fix memory database configuration enum, remove junk field
- Remove hard coded sync progress value (was always returning 21.0)
- Fix tests and tox build workflow
## [0.0.1-0.0.5]
### Added
+9
View File
@@ -34,6 +34,15 @@ python3 setup.py --verbose bdist_wheel
```
<br/>
## Run tox to build and test
```shell
# install dev requirements
pip install --requirement requirements-dev.txt
# build and test
tox
```
## Install locally
```shell
pip install ./dist/bdkpython-<yourversion>-py3-none-any.whl
+7
View File
@@ -0,0 +1,7 @@
[build-system]
requires = ["setuptools", "wheel", "setuptools-rust"]
[tool.pytest.ini_options]
pythonpath = [
"."
]
+2
View File
@@ -0,0 +1,2 @@
pytest==7.1.2
tox==3.25.1
+9 -3
View File
@@ -1,10 +1,16 @@
[tox]
envlist =
py38
py39
[testenv]
deps =
pytest
bdk
usedevelop=true
deps =
-rrequirements.txt
-rrequirements-dev.txt
commands =
python3 setup.py -v build
python3 setup.py -v install
pytest --verbose --override-ini console_output_style=count
python3 setup.py --verbose bdist_wheel