summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorP. Christeas <p_christ@hol.gr>2009-06-10 20:35:24 +0300
committerP. Christeas <p_christ@hol.gr>2009-06-10 20:35:24 +0300
commit9537f7b61bac1fc04f7658ee5ca7d2c1a5b642a7 (patch)
treed03ee34fd0e01542dc0e3de4a2f01cacb2d36c99 /setup.py
parent358924f1356de76b91960cf7397c93fb2e428f0d (diff)
Debian build: Remove all patches, have setup.py not check modules.
In build scenarios, python modules may be missing from the build machine. Then, allow setup.py to carry on. bzr revid: p_christ@hol.gr-20090610173524-fmqucmype469zm9i
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 9eb2ce631ce..69cf5de0d73 100755
--- a/setup.py
+++ b/setup.py
@@ -121,7 +121,8 @@ def data_files():
return files
-check_modules()
+if not os.getenv('NO_CHECK_MODULES',False) :
+ check_modules()
f = file('openerp-server','w')
start_script = """#!/bin/sh\necho "OpenERP Setup - The content of this file is generated at the install stage\n" """