OpenAgricultureFoundation / openag_brain

ROS package for controlling an OpenAg food computer
GNU General Public License v3.0
221 stars 68 forks source link

couchdb views are not copied during install #1

Closed yaromins closed 8 years ago

yaromins commented 8 years ago

I've noticed that after: pip3 install . no js files from _openag/brain/core/design/ subdirectories are copied and as a result db_init is failing to create corresponding couchdb views. to fix this I had to create MANIFEST.in file in the project root directory (where setup.py is located) global-include *.js and modify setup.py with an extra parameter during setup function call: include_package_data=True

LeonChambers commented 8 years ago

Cool, I suspected that this might happen but hadn't tested it yet. Could you submit a pull request with the fix?

yaromins commented 8 years ago

Sure. Here it is https://github.com/OpenAgInitiative/openag-brain/pull/2