summaryrefslogtreecommitdiffstats
path: root/ipaplatform/__init__.py.in
blob: 9821bf62a0bd566d2eacd7411ca4c7b4cca5dc03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#
# 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))