aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2020-01-02 00:52:43 -0800
committerKhem Raj <raj.khem@gmail.com>2020-01-02 09:48:20 -0800
commit13042b49ea2e42177130e89ffcf575d7b5f32444 (patch)
tree580f905dbedfaddc90f0ed7c760df28bc7ff8558 /meta-oe/recipes-devtools
parentf4aa4b6dd9ebf6a0d78f85d81ad34672b2d68633 (diff)
downloadmeta-openembedded-contrib-13042b49ea2e42177130e89ffcf575d7b5f32444.tar.gz
python3-astor: fix VERSION file not found
... import astor File "/usr/lib/python3.7/site-packages/astor/__init__.py", line 24, in <module> with open(os.path.join(ROOT, 'VERSION')) as version_file: FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3.7/site-packages/astor/VERSION' ... Place the value in a simple VERSION text file and have both setup.py and the project code read it. With this approach you must make sure that the VERSION file is included in all your source and binary distributions (e.g. add include VERSION to your MANIFEST.in). [1] [1] https://packaging.python.org/guides/single-sourcing-package-version/ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools')
0 files changed, 0 insertions, 0 deletions