Mercurial > p > roundup > code
comparison roundup/dist/command/build_doc.py @ 7412:4ff18b1cd9bf
Remove raise ImportError used for testing.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Thu, 25 May 2023 16:38:25 -0400 |
| parents | 42bf0a707763 |
| children | 302ce182ffd3 |
comparison
equal
deleted
inserted
replaced
| 7411:1acdc651133b | 7412:4ff18b1cd9bf |
|---|---|
| 4 # For license terms see the file COPYING.txt. | 4 # For license terms see the file COPYING.txt. |
| 5 # | 5 # |
| 6 | 6 |
| 7 import os, sys | 7 import os, sys |
| 8 import os.path | 8 import os.path |
| 9 import glob | |
| 10 | 9 |
| 11 try: | 10 try: |
| 12 from setuptools.command.install import install as _build_py | 11 from setuptools.command.install import install as _build_py |
| 13 raise ImportError | |
| 14 except ImportError: | 12 except ImportError: |
| 15 from distutils.command.build import build as _build_py # try/except clause | 13 from distutils.command.build import build as _build_py # try/except clause |
| 16 orig_build = _build_py | 14 orig_build = _build_py |
| 17 | 15 |
| 18 try: | 16 try: |
