Skip to content

Commit

Permalink
make libtorrent a normal dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
shyba committed Jul 30, 2022
1 parent c251aef commit 9d5e91c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@
'elasticsearch==7.10.1',
'grpcio==1.38.0',
'filetype==1.0.9',
'libtorrent==2.0.6',
] + ROCKSDB,
extras_require={
'torrent': ['lbry-libtorrent'],
'lint': [
'pylint==2.10.0'
],
Expand Down
1 change: 0 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ deps =
extras =
test
hub
torrent
changedir = {toxinidir}/tests
setenv =
HOME=/tmp
Expand Down

0 comments on commit 9d5e91c

Please sign in to comment.