Skip to content

setup: fix deployment of template cpp files#97

Merged
dboyliao merged 1 commit intouTensor:developfrom
aabadie:fix_setup_cpp_data
Jan 9, 2020
Merged

setup: fix deployment of template cpp files#97
dboyliao merged 1 commit intouTensor:developfrom
aabadie:fix_setup_cpp_data

Conversation

@aabadie
Copy link
Copy Markdown
Contributor

@aabadie aabadie commented Jan 6, 2020

This PR fixes the deployment of template cpp files in the package generated with pip.

When installing utensor_cgen using pip (like it's documented in the README), the template files are not present and the script crashes when generating the model cpp files.

Also you should not use the -e option in the CI setup command:

- run: pip3 install -e .[dev]

Just use pip3 install . with CI to perform a standard installation like any regular user would do and keep the -e option for your local development env.

Copy link
Copy Markdown
Member

@dboyliao dboyliao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot @aabadie.
I changed the module hierarchy and forgot to change the path.
Thank you for fixing this.

It looks like our CI gets stuck now.
I run your PR locally on my machine and it works fine so I'll merge your PR later.

BTW, I'll send you a slack invitation link to your email.
Feel free to join us on slack.

@dboyliao dboyliao merged commit 65db780 into uTensor:develop Jan 9, 2020
@aabadie aabadie deleted the fix_setup_cpp_data branch January 9, 2020 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants