summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorZhou Shuangquan <shuangquan.zhou@intel.com>2011-08-10 10:20:36 +0800
committerZhou Shuangquan <shuangquan.zhou@intel.com>2011-08-10 10:20:36 +0800
commit98657e38015bb1c3b3e04ba7a1e8c1bc72906c46 (patch)
treeeb983173750ffad3598144d7685585e5ebd8455a /setup.py
parentc9a40ffb278a34263b841f079e1e08f02214e0f8 (diff)
downloadmic-98657e38015bb1c3b3e04ba7a1e8c1bc72906c46.tar.gz
mic-98657e38015bb1c3b3e04ba7a1e8c1bc72906c46.tar.bz2
mic-98657e38015bb1c3b3e04ba7a1e8c1bc72906c46.zip
Initial checkin of micng
Note: create fs/loop/raw/livecd/liveusb chroot fs/loop/raw/livecd/liveusb Signed-off-by: Zhou Shuangquan <shuangquan.zhou@intel.com>
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py11
1 files changed, 9 insertions, 2 deletions
diff --git a/setup.py b/setup.py
index 3e1a699..157116c 100644
--- a/setup.py
+++ b/setup.py
@@ -1,6 +1,7 @@
#!/usr/bin/env python
import os, sys
+import glob
from distutils.core import setup
#try:
# import setuptools
@@ -32,7 +33,6 @@ except IOError:
PACKAGES = [MOD_NAME,
MOD_NAME + '/utils',
MOD_NAME + '/utils/kscommands',
- MOD_NAME + '/utils/pkgmanagers',
MOD_NAME + '/imager',
MOD_NAME + '/pluginbase',
]
@@ -44,8 +44,15 @@ setup(name=MOD_NAME,
url='https://meego.gitorious.org/meego-developer-tools/image-creator',
scripts=[
'tools/micng',
- 'tools/mic-image-create',
],
packages = PACKAGES,
+ data_files = [("/usr/lib/micng/plugins/imager", ["plugins/imager/fs_plugin.py",
+ "plugins/imager/livecd_plugin.py",
+ "plugins/imager/liveusb_plugin.py",
+ "plugins/imager/loop_plugin.py",
+ "plugins/imager/raw_plugin.py"]),
+ ("/usr/lib/micng/plugins/backend", ["plugins/backend/zypppkgmgr.py",
+ "plugins/backend/yumpkgmgr.py"]),
+ ("/etc/micng", ["distfiles/micng.conf"])]
)