summaryrefslogtreecommitdiff
path: root/doc/python3.rst
diff options
context:
space:
mode:
authorChristophe Monniez <moc@odoo.com>2021-03-01 11:14:47 +0000
committerChristophe Monniez <moc@odoo.com>2021-03-01 15:58:16 +0000
commitcfdf6f16442bd94a0669932257d65714ab000b90 (patch)
tree57eee3efe41aa00a13e9ef5ede216879f6033726 /doc/python3.rst
parent6cfaf10e81f084287c6254e26296add53d663e71 (diff)
[FIX] packaging: include all odoo files in src build
Since this old commit 735924878f8, the files that are packaged are chosen by a list of allowed extensions. This list have to be maintained each time that a developer adds a new kind of file in a module. This is error prone [0] as most developer are not aware of that and it's difficult to monitor. Moreover, there is no reason to have a different list of installed files when one install from the git repo instead of the source package. With this commit, all [1] odoo sources files are included in the source packaging and the only thing to maintain is a small black-list of file extensions like for Python bytecode files and for version control files. [0] see commit d33c05b62a9c6 that fix `.json` missing files. [1] graft command: https://docs.python.org/3/distutils/commandref.html closes odoo/odoo#67016 X-original-commit: 9c2ce1f12c2bebb4a903058eac10c17ca562fda9 Signed-off-by: Xavier Dollé (xdo) <xdo@odoo.com> Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
Diffstat (limited to 'doc/python3.rst')
0 files changed, 0 insertions, 0 deletions