summaryrefslogtreecommitdiffstats
path: root/src/pcp
diff options
context:
space:
mode:
authorMichal Minar <miminar@redhat.com>2013-10-22 09:43:20 +0200
committerMichal Minar <miminar@redhat.com>2013-10-24 10:28:30 +0200
commitfd26a63b53334483a1f70d9cc30642dc7587b0ec (patch)
tree458d6709b81fe2a757a6496f83dc03649c2392a3 /src/pcp
parent2229fa7f328b9e8b49266eb69150ab4be18ba354 (diff)
downloadopenlmi-providers-fd26a63b53334483a1f70d9cc30642dc7587b0ec.tar.gz
openlmi-providers-fd26a63b53334483a1f70d9cc30642dc7587b0ec.tar.xz
openlmi-providers-fd26a63b53334483a1f70d9cc30642dc7587b0ec.zip
pcp: fixed setup
Added missing 'lmi' package to packages. This fixes installation to user directory.
Diffstat (limited to 'src/pcp')
-rw-r--r--src/pcp/lmi/__init__.py21
-rw-r--r--src/pcp/setup.py1
2 files changed, 22 insertions, 0 deletions
diff --git a/src/pcp/lmi/__init__.py b/src/pcp/lmi/__init__.py
new file mode 100644
index 0000000..aa4170a
--- /dev/null
+++ b/src/pcp/lmi/__init__.py
@@ -0,0 +1,21 @@
+# Software Management Providers
+#
+# Copyright (C) 2012-2013 Red Hat, Inc. All rights reserved.
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library 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
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+#
+# Authors: Michal Minar <miminar@redhat.com>
+#
+__import__('pkg_resources').declare_namespace(__name__)
diff --git a/src/pcp/setup.py b/src/pcp/setup.py
index 2e2c853..27a6404 100644
--- a/src/pcp/setup.py
+++ b/src/pcp/setup.py
@@ -8,6 +8,7 @@ setup(
version='0.3.0',
namespace_packages=['lmi'],
packages=[
+ 'lmi',
'lmi.pcp'],
install_requires=['openlmi', 'pcp'],
license="LGPLv2+",