<filename>{{cookiecutter.project_slug}}/src/__init__.py
from . import logger

try:
    import nuke
except ImportError:
    from . import _nuke as nuke
else:
    from . import main

<filename>{{cookiecutter.project_slug}}/src/__init__.py
from . import logger

try:
    import nuke
except ImportError:
    from . import _nuke as nuke
else:
    from . import main
