2
0
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:
XZS 2015-01-02 14:18:27 +01:00 committed by Thomas Nagy
parent 149653a937
commit 6d5bde451d
No known key found for this signature in database
GPG Key ID: 67A565EDFDF90E64

View File

@ -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: