diff options
Diffstat (limited to 'cli/__init__.py')
| -rw-r--r-- | cli/__init__.py | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/cli/__init__.py b/cli/__init__.py index fd8ff66..c6f8f27 100644 --- a/cli/__init__.py +++ b/cli/__init__.py @@ -1,8 +1,15 @@ +import os + from .base import cli from .build import build -from .clean import clean -from .ghpr import ghpr -from .scan import scan -__all__ = [cli, build, clean, ghpr, scan] +__all__ = [cli, build] + +# ugly workaround to avoid build failures in Python 3.8 +if "NETLIFY" not in os.environ: + from .clean import clean + from .ghpr import ghpr + from .scan import scan + + __all__ += [clean, ghpr, scan] |
