Author: andar

Revision: 5525

Log:
        Don't depend on sphinx to build

Diff:
Modified: trunk/setup.py
===================================================================
--- trunk/setup.py      2009-07-22 23:40:58 UTC (rev 5524)
+++ trunk/setup.py      2009-07-22 23:52:18 UTC (rev 5525)
@@ -30,8 +30,13 @@
 from distutils.command.build import build as _build
 from distutils.command.clean import clean as _clean
 from setuptools.command.install import install as _install
-from sphinx.setup_command import BuildDoc
+try:
+    from sphinx.setup_command import BuildDoc
+except ImportError:
+    class BuildDoc(object):
+        pass
 
+
 import msgfmt
 import os
 import platform



--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to