summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2009-08-18 11:02:27 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2009-08-18 11:02:27 +0200
commita0a68d0c2ee8757643aa422e9fb8cafcfa3f9b28 (patch)
tree5865e9348ef6991e930bbd79507f62bb1ecffc82 /setup.py
parent2215d046a10508c0d3950db6d924727b2a2db336 (diff)
parentb901e22c3b747dd463bc13be10826bf90934c223 (diff)
downloadpython-apt-a0a68d0c2ee8757643aa422e9fb8cafcfa3f9b28.tar.gz
merge from debian-sid
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py6
1 files changed, 0 insertions, 6 deletions
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",