freeipa/ipaplatform/__init__.py.in
Christian Heimes 8f98fa1bd5 Replace ipaplatform's symlinks with a meta importer
Signed-off-by: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Petr Spacek <pspacek@redhat.com>
2016-10-20 10:42:00 +02:00

21 lines
449 B
Python

#
# Copyright (C) 2015 FreeIPA Contributors see COPYING for license
#
"""Module containing platform-specific functionality.
ipaplatform.constants
ipaplatform.paths
ipaplatform.services
ipaplatform.tasks
"""
import os
NAME = "__PLATFORM__"
# Create an alias for platform specific modulues, e.g.
# 'import ipaplatform.paths' loads 'ipaplatform/NAME/paths.py'.
__path__.append(
os.path.join(os.path.dirname(os.path.abspath(__file__)), NAME))