make libtorrent a normal dependency

This commit is contained in:
Victor Shyba 2022-07-29 22:06:31 -03:00 committed by Victor Shyba
parent 3021962e3d
commit 8f26010c04
3 changed files with 3 additions and 4 deletions

View file

@ -18,7 +18,7 @@ jobs:
key: ${{ runner.os }}-pip-${{ hashFiles('setup.py') }}
restore-keys: ${{ runner.os }}-pip-
- run: pip install --user --upgrade pip wheel
- run: pip install -e .[torrent,lint]
- run: pip install -e .[lint]
- run: make lint
tests-unit:
@ -50,7 +50,7 @@ jobs:
string: ${{ runner.os }}
- run: python -m pip install --user --upgrade pip wheel
- if: startsWith(runner.os, 'linux')
run: pip install -e .[torrent,test]
run: pip install -e .[test]
- if: startsWith(runner.os, 'linux')
env:
HOME: /tmp

View file

@ -46,9 +46,9 @@ setup(
'coincurve==15.0.0',
'pbkdf2==1.3',
'filetype==1.0.9',
'libtorrent==2.0.6',
],
extras_require={
'torrent': ['lbry-libtorrent'],
'lint': [
'pylint==2.10.0'
],

View file

@ -5,7 +5,6 @@ deps =
extras =
test
hub
torrent
changedir = {toxinidir}/tests
setenv =
HOME=/tmp