mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-19 19:14:55 +00:00
Modify setup.py to allow building without libtorrent/
This commit is contained in:
parent
42a57b1f41
commit
644f0ecb38
2 changed files with 2 additions and 8 deletions
8
DEPENDS
8
DEPENDS
|
@ -8,13 +8,7 @@
|
|||
* gettext
|
||||
* pyxdg
|
||||
* geoip-database (optional)
|
||||
|
||||
* libtorrent >= 0.14, or build the included version
|
||||
|
||||
* If building included libtorrent::
|
||||
* boost >= 1.34.1
|
||||
* openssl
|
||||
* zlib
|
||||
* libtorrent >= 0.14.5
|
||||
|
||||
=== UIs ===
|
||||
* chardet
|
||||
|
|
2
setup.py
2
setup.py
|
@ -207,7 +207,7 @@ except ImportError:
|
|||
else:
|
||||
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
|
||||
libtorrent = Extension(
|
||||
'libtorrent',
|
||||
|
|
Loading…
Add table
Reference in a new issue