From 3c698227614e4bb8b4a79e0fa5ea9539c3851390 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Thu, 8 Oct 2009 02:51:49 +0000 Subject: [PATCH] Modify setup.py to allow building without libtorrent/ --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index b714335ae..d9b413bf6 100644 --- a/setup.py +++ b/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',