MANIFEST.in not complete causing vspk-generator error
pdellaert opened this issue · 0 comments
pdellaert commented
When installing all the components from the GitHub repositories (clone bambou, monolithe, vspkgenerator and vsd-api-specifications, pyton setup.py install for bambou, monolithe, vspkgenerator) and using the vspkgenerator fails:
# generate-vspk -f /root/GitHub/vsd-api-specifications -b 3.2
[log] retrieving specifications from folder "/root/GitHub/vsd-api-specifications"
[log] 130 specifications retrieved from folder "/root/GitHub/vsd-api-specifications" (api version: 3.2)
Traceback (most recent call last):
File "/bin/monogen-sdk", line 9, in <module>
load_entry_point('monolithe==1.0.0', 'console_scripts', 'monogen-sdk')()
File "/usr/lib/python2.7/site-packages/monolithe-1.0.0-py2.7.egg/monolithe/generators/sdk/cli.py", line 146, in main
generator.generate_from_folder()
File "/usr/lib/python2.7/site-packages/monolithe-1.0.0-py2.7.egg/monolithe/generators/lib/generator.py", line 68, in generate_from_folder
self.generate(specification_info=specification_info)
File "/usr/lib/python2.7/site-packages/monolithe-1.0.0-py2.7.egg/monolithe/generators/sdk/sdkgenerator.py", line 68, in generate
self.install_system_vanilla(current_file=__file__, output_path=sdk_output)
File "/usr/lib/python2.7/site-packages/monolithe-1.0.0-py2.7.egg/monolithe/generators/lib/generator.py", line 121, in install_system_vanilla
shutil.copytree(system_vanilla_path, output_path)
File "/usr/lib64/python2.7/shutil.py", line 171, in copytree
names = os.listdir(src)
OSError: [Errno 2] No such file or directory: '/usr/lib/python2.7/site-packages/monolithe-1.0.0-py2.7.egg/monolithe/generators/sdk/python/vanilla'
The source of the error is the change in the monolithe/generators/sdk
folder which is not reflected in the MANIFEST.in file.