-
Notifications
You must be signed in to change notification settings - Fork 4
Fix/installation #28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix/installation #28
Conversation
setup.py
Outdated
| def list_files(directory): | ||
| paths = [] | ||
| for (path, directories, filenames) in os.walk(directory): | ||
| files = [os.path.join(path, f) for f in filenames] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
variable files is not being used by the function, can we remove it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we need to copy only the data, and not the .callflow files. I think we can add a statement to check the type of files that can be considered as well. Otherwise, it might copy a lot of files.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, looks like a copy-paste issue. get rid of files.
Yes, to .callflow too. we should see if os.walk returns hidden files/directories. i didnt encounter this.
Fixes to installation. Tested with
python setup.py installandspack install. Still need to update the readme.