diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2020-01-02 00:52:43 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-01-02 09:48:20 -0800 |
commit | 13042b49ea2e42177130e89ffcf575d7b5f32444 (patch) | |
tree | 580f905dbedfaddc90f0ed7c760df28bc7ff8558 /meta-python/recipes-devtools/python/python-booleanpy.inc | |
parent | f4aa4b6dd9ebf6a0d78f85d81ad34672b2d68633 (diff) | |
download | meta-openembedded-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-python/recipes-devtools/python/python-booleanpy.inc')
0 files changed, 0 insertions, 0 deletions