mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-09 18:08:39 +00:00
Modify setup.py to allow building without libtorrent/
This commit is contained in:
parent
3a90109724
commit
3c69822761
1 changed files with 1 additions and 1 deletions
2
setup.py
2
setup.py
|
@ -207,7 +207,7 @@ except ImportError:
|
||||||
else:
|
else:
|
||||||
build_libtorrent = False
|
build_libtorrent = False
|
||||||
|
|
||||||
if build_libtorrent:
|
if build_libtorrent and os.path.exists("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
|
||||||
libtorrent = Extension(
|
libtorrent = Extension(
|
||||||
'libtorrent',
|
'libtorrent',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue