mirror of
https://gitlab.com/ita1024/waf.git
synced 2025-01-07 17:05:17 +01:00
install compiled python files besides sources
Compiled python files are now placed in a __pycache__ directory besides the source file, which is in fact the only location PEP 3142 specifies. Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
This commit is contained in:
parent
149653a937
commit
6d5bde451d
@ -87,7 +87,7 @@ def process_py(self, node):
|
||||
if self.install_from:
|
||||
self.bld.install_files(self.install_path, [node], cwd=self.install_from, relative_trick=True)
|
||||
else:
|
||||
self.bld.install_files(self.install_path, [node])
|
||||
self.bld.install_files(self.install_path, [node], relative_trick=True)
|
||||
|
||||
lst = []
|
||||
if self.env.PYC:
|
||||
|
Loading…
Reference in New Issue
Block a user