diff options
| author | Julian Andres Klode <jak@debian.org> | 2009-08-02 20:14:54 +0200 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2009-08-02 20:14:54 +0200 |
| commit | 5975f86e017004a2391cba7d5fda7c6a8b24e2a5 (patch) | |
| tree | 9118724c91df69c4daefb98a27b19fb4b797d2a9 /setup.py | |
| parent | cdb7e74be8bfa4bc16aa8d9231829095f8689033 (diff) | |
| download | python-apt-5975f86e017004a2391cba7d5fda7c6a8b24e2a5.tar.gz | |
* setup.py: Always build documentation, even if python-gtk2 is not installed.
Diffstat (limited to 'setup.py')
| -rwxr-xr-x | setup.py | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -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", |
