From 5975f86e017004a2391cba7d5fda7c6a8b24e2a5 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Sun, 2 Aug 2009 20:14:54 +0200 Subject: * setup.py: Always build documentation, even if python-gtk2 is not installed. --- setup.py | 6 ------ 1 file changed, 6 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 2afd0708..9c9758c9 100755 --- a/setup.py +++ b/setup.py @@ -63,12 +63,6 @@ setup(name="python-apt", if len(sys.argv) > 1 and sys.argv[1] == "build": import sphinx - try: - import pygtk - except ImportError: - print >> sys.stderr, ('W: Not building documentation because python-' - 'gtk2 is not available at the moment.') - sys.exit(0) sphinx.main(["sphinx", "-b", "html", "-d", "build/doc/doctrees", os.path.abspath("doc/source"), "build/doc/html"]) sphinx.main(["sphinx", "-b", "text", "-d", "build/doc/doctrees", -- cgit v1.2.3