diff options
author | Tomas Touceda <chiiph@leap.se> | 2013-05-03 17:05:53 -0300 |
---|---|---|
committer | Tomas Touceda <chiiph@leap.se> | 2013-05-07 14:03:32 -0300 |
commit | 549952c9acc0eb8dab750b8f43f1162f910f0fed (patch) | |
tree | e395ccd6c0b78fe35db2cfb29907cacc8dae5f93 /src/leap/__init__.py | |
parent | 406464efb2d2589a010e95bccfc6733a8e49c4f5 (diff) |
Add setup script and init.d script
Also, some pep8 fixes
Diffstat (limited to 'src/leap/__init__.py')
-rw-r--r-- | src/leap/__init__.py | 28 |
1 files changed, 6 insertions, 22 deletions
diff --git a/src/leap/__init__.py b/src/leap/__init__.py index ff2d8a1..f48ad10 100644 --- a/src/leap/__init__.py +++ b/src/leap/__init__.py @@ -1,22 +1,6 @@ -# -*- encoding: utf-8 -*- -# __init__.py -# Copyright (C) 2013 LEAP -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. - -""" -Module intialization file for leap. -""" - -__all__ = ['mx'] +# See http://peak.telecommunity.com/DevCenter/setuptools#namespace-packages +try: + __import__('pkg_resources').declare_namespace(__name__) +except ImportError: + from pkgutil import extend_path + __path__ = extend_path(__path__, __name__) |