mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +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
|
* gettext
|
||||||
* pyxdg
|
* pyxdg
|
||||||
* geoip-database (optional)
|
* geoip-database (optional)
|
||||||
|
* libtorrent >= 0.14.5
|
||||||
* libtorrent >= 0.14, or build the included version
|
|
||||||
|
|
||||||
* If building included libtorrent::
|
|
||||||
* boost >= 1.34.1
|
|
||||||
* openssl
|
|
||||||
* zlib
|
|
||||||
|
|
||||||
=== UIs ===
|
=== UIs ===
|
||||||
* chardet
|
* chardet
|
||||||
|
|
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