mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-03 06:58:42 +00:00
use the version check within deluge so the correct version is checked for
This commit is contained in:
parent
a4d1fbd0bd
commit
d075ac888e
1 changed files with 1 additions and 4 deletions
5
setup.py
5
setup.py
|
@ -201,12 +201,9 @@ _ext_modules = []
|
||||||
# Check for a system libtorrent and if found, then do not build the libtorrent extension
|
# Check for a system libtorrent and if found, then do not build the libtorrent extension
|
||||||
build_libtorrent = True
|
build_libtorrent = True
|
||||||
try:
|
try:
|
||||||
import libtorrent
|
from deluge._libtorrent import lt
|
||||||
except ImportError:
|
except ImportError:
|
||||||
build_libtorrent = True
|
build_libtorrent = True
|
||||||
else:
|
|
||||||
if libtorrent.version_major == 0 and libtorrent.version_minor == 14:
|
|
||||||
build_libtorrent = False
|
|
||||||
|
|
||||||
if build_libtorrent:
|
if build_libtorrent:
|
||||||
# There isn't a system libtorrent library, so let's build the one included with deluge
|
# There isn't a system libtorrent library, so let's build the one included with deluge
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue