diff options
author | Raul Cuza <raulcuza@gmail.com> | 2011-01-31 15:12:34 -0500 |
---|---|---|
committer | Raul Cuza <raulcuza@gmail.com> | 2011-01-31 15:12:34 -0500 |
commit | 356fbb7a745bdcbbc2c2f10083c6867d423ceffc (patch) | |
tree | b55ac161785b7380ecb15e4b62b708dd3835ed5a | |
parent | fb1c1bf2fc5752317286b2d79e93fd03632f592e (diff) | |
parent | 1d505209a66edc877b8e4d65ceae0dcaf15d7016 (diff) | |
download | bcfg2-356fbb7a745bdcbbc2c2f10083c6867d423ceffc.tar.gz bcfg2-356fbb7a745bdcbbc2c2f10083c6867d423ceffc.tar.bz2 bcfg2-356fbb7a745bdcbbc2c2f10083c6867d423ceffc.zip |
Accept upstream version of setup.py.
-rw-r--r-- | setup.py | 12 |
1 files changed, 5 insertions, 7 deletions
@@ -6,12 +6,6 @@ from fnmatch import fnmatch from glob import glob import os.path -try: - import lxml.etree -except ImportError: - pass - - class BuildDTDDoc (Command): """Build DTD documentation""" @@ -113,7 +107,11 @@ try: except ImportError: pass -cmdclass['build_dtddoc'] = BuildDTDDoc +try: + import lxml.etree + cmdclass['build_dtddoc'] = BuildDTDDoc +except ImportError: + pass setup(cmdclass=cmdclass, name="Bcfg2", |