lbry-sdk/Makefile

24 lines
591 B
Makefile
Raw Normal View History

2019-12-07 23:38:54 -05:00
.PHONY: install tools lint test idea
2019-06-20 15:26:54 -04:00
install:
2019-12-08 03:21:43 -03:00
CFLAGS="-DSQLITE_MAX_VARIABLE_NUMBER=2500000" pip install -U https://github.com/rogerbinns/apsw/releases/download/3.30.1-r1/apsw-3.30.1-r1.zip \
2019-12-07 17:45:04 -05:00
--global-option=fetch \
--global-option=--version --global-option=3.30.1 --global-option=--all \
--global-option=build --global-option=--enable --global-option=fts5
pip install -e .
2019-12-07 23:38:54 -05:00
tools:
2019-06-21 11:39:35 -04:00
pip install mypy==0.701
pip install coverage astroid pylint
2019-06-20 15:26:54 -04:00
lint:
pylint --rcfile=setup.cfg lbry
#mypy --ignore-missing-imports lbry
2019-06-26 03:54:54 -03:00
test:
tox
2019-06-26 03:54:54 -03:00
idea:
mkdir -p .idea
cp -r scripts/idea/* .idea