mirror of https://gitlab.com/ita1024/waf.git
Enable install_path=None for Python targets #2087
This commit is contained in:
parent
a5a3915b7a
commit
05188b4c7f
|
@ -79,7 +79,7 @@ def process_py(self, node):
|
|||
"""
|
||||
Add signature of .py file, so it will be byte-compiled when necessary
|
||||
"""
|
||||
assert(getattr(self, 'install_path')), 'add features="py"'
|
||||
assert(hasattr(self, 'install_path')), 'add features="py"'
|
||||
|
||||
# where to install the python file
|
||||
if self.install_path:
|
||||
|
|
Loading…
Reference in New Issue