Commit 71426116 authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

BF: Broke nil func, trying to neaten things up

parent 5e100dd3
......@@ -96,6 +96,9 @@ def load_meta_yaml(filename, ignore_env=False):
by any environment variables in os.environ.
"""
def nil_func(*args, **kwargs):
return "nil"
class OS:
def __init__(self):
self.environ = {}
......@@ -110,9 +113,9 @@ def load_meta_yaml(filename, ignore_env=False):
env = {
'os' : template_os,
'load_setup_py_data' : lambda : {},
'compiler' : lambda : "nil",
'cdt' : lambda : "nil",
'load_setup_py_data' : lambda : {},
'compiler' : nil_func,
'cdt' : nil_func,
'pin_compatible' : lambda pkg: pkg,
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment