Author: damoxc
Revision: 5783
Log:
use the version check within deluge so the correct version is checked
for
Diff:
Modified: trunk/setup.py
===================================================================
--- trunk/setup.py 2009-09-26 16:25:16 UTC (rev 5782)
+++ trunk/setup.py 2009-09-28 15:18:51 UTC (rev 5783)
@@ -201,12 +201,9 @@
# Check for a system libtorrent and if found, then do not build the libtorrent
extension
build_libtorrent = True
try:
- import libtorrent
+ from deluge._libtorrent import lt
except ImportError:
build_libtorrent = True
-else:
- if libtorrent.version_major == 0 and libtorrent.version_minor == 14:
- build_libtorrent = False
if build_libtorrent:
# There isn't a system libtorrent library, so let's build the one included
with deluge
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"deluge-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/deluge-commit?hl=en
-~----------~----~----~----~------~----~------~--~---