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

View file

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

View file

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