summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorGui Chen <gui.chen@intel.com>2012-05-02 16:38:25 +0800
committerGui Chen <gui.chen@intel.com>2012-05-02 16:58:21 +0800
commit030cc1b1476a7adf417e1ed39be073410ece7c8f (patch)
treeca0c35c10124184e5aae22f0d2ca518410b918db /setup.py
parent00ffa4193ed32bf1501fd3b819d9e4026b41cb74 (diff)
downloadmic-030cc1b1476a7adf417e1ed39be073410ece7c8f.tar.gz
mic-030cc1b1476a7adf417e1ed39be073410ece7c8f.tar.bz2
mic-030cc1b1476a7adf417e1ed39be073410ece7c8f.zip
add setup.cfg to specify prefix
and use sys.prefix as default prefix dir in setup.py Signed-off-by: Gui Chen <gui.chen@intel.com>
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/setup.py b/setup.py
index 1056554..f68c1c0 100644
--- a/setup.py
+++ b/setup.py
@@ -88,6 +88,7 @@ with file(conffile, 'w') as wf:
wf.write(conf_str)
try:
+ os.environ['PREFIX'] = prefix
setup(name=MOD_NAME,
version = version,
description = 'Image Creator for Linux Distributions',