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 | |
| parent | cdb7e74be8bfa4bc16aa8d9231829095f8689033 (diff) | |
| download | python-apt-5975f86e017004a2391cba7d5fda7c6a8b24e2a5.tar.gz | |
* setup.py: Always build documentation, even if python-gtk2 is not installed.
| -rw-r--r-- | debian/changelog | 2 | ||||
| -rwxr-xr-x | setup.py | 6 |
2 files changed, 2 insertions, 6 deletions
diff --git a/debian/changelog b/debian/changelog index db1eef02..a7cf71a3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,8 @@ python-apt (0.7.12.1) UNRELEASED; urgency=low - Add missing argument to Version.__le__() and Version.__ge__() * debian/control: - Do not build-depend on python-gtk2 and python-vte on kfreebsd-*. + * setup.py: + - Always build documentation, even if python-gtk2 is not installed. -- Julian Andres Klode <jak@debian.org> Fri, 31 Jul 2009 12:38:18 +0200 @@ -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", |
