make libtorrent a normal dependency
This commit is contained in:
parent
3021962e3d
commit
8f26010c04
3 changed files with 3 additions and 4 deletions
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
|
@ -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
|
||||
|
|
2
setup.py
2
setup.py
|
@ -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'
|
||||
],
|
||||
|
|
1
tox.ini
1
tox.ini
|
@ -5,7 +5,6 @@ deps =
|
|||
extras =
|
||||
test
|
||||
hub
|
||||
torrent
|
||||
changedir = {toxinidir}/tests
|
||||
setenv =
|
||||
HOME=/tmp
|
||||
|
|
Loading…
Reference in a new issue