diff options
author | Gui Chen <gui.chen@intel.com> | 2012-05-02 16:38:25 +0800 |
---|---|---|
committer | Gui Chen <gui.chen@intel.com> | 2012-05-02 16:58:21 +0800 |
commit | 030cc1b1476a7adf417e1ed39be073410ece7c8f (patch) | |
tree | ca0c35c10124184e5aae22f0d2ca518410b918db /setup.py | |
parent | 00ffa4193ed32bf1501fd3b819d9e4026b41cb74 (diff) | |
download | mic-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.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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', |