summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--setup.cfg2
-rw-r--r--setup.py1
2 files changed, 3 insertions, 0 deletions
diff --git a/setup.cfg b/setup.cfg
new file mode 100644
index 0000000..fe98c34
--- /dev/null
+++ b/setup.cfg
@@ -0,0 +1,2 @@
+[install]
+prefix=$PREFIX
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',