summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2009-08-19 11:47:27 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2009-08-19 11:47:27 +0200
commitf35167305afec76128454fc15fae26b0770a44c8 (patch)
treec31cbb65f8fc911e7947d548d2258908cd2dc7f4 /setup.py
parentde49263fd994bee687f4c2ceb7cd527f528f991b (diff)
parentaae9d9c7c07c7c078e11d2d8affc88d9eaa51e11 (diff)
downloadpython-apt-f35167305afec76128454fc15fae26b0770a44c8.tar.gz
merge from debian
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 9ed21378..a9b45066 100755
--- a/setup.py
+++ b/setup.py
@@ -64,12 +64,6 @@ setup(name="python-apt",
if (len(sys.argv) > 1 and sys.argv[1] == "build" and
sys.version_info[0] >= 2 and sys.version_info[1] >= 5):
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",