-
Notifications
You must be signed in to change notification settings - Fork 14
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
Updated packaging format #10
Conversation
Created setup.cfg and pyproject.toml files, moved package directory to src/, applied black formatting.
Includes scikit-sparse in requirements to provide the Cholesky decomposition solver. Resolves Deep-MI#13.
… numpy docstring standards.
Thank you for this pull request and your work on this. We appreciate your efforts and really like your changes with respect to the updated docstrings, the introduction of types, and the overall (toml) architecture. However there are several edits that would need to be reverted in order for this PR to become useful:
Will send a similar reply to your other PR in brainprint. And thanks again! |
I would like to give short feedback on this PR as I am discovering both tools
My 2c, from a fellow developer. |
Hi @mscheltienne, thank you for your comment. I actually created this PR following a PR in another project from that lab (Deep-MI/BrainPrint#5, please see for more context). I agree with everything you wrote, I'll just add that if you decide to continue to work on this and single quotes are for some reason a hard requirement, you can also use blue. In any case, I will not be working on this further, you are very welcome to pick things up from here. |
OK. Also I now realize that both this package and BrainPrint-python are not released on Pypi or a conda distribution channel. IMO, it's a shame to not distribute those 2 packages widely.. and it would be very quick to do so. |
Again, I entirely agree, but I am not sure what are the authors' intentions. My impression from the comments here and in the other PR were that these tools are developed exclusively by and for the purposes of that particular lab. Without the core maintainers' support in implementing Python best practices and promoting collaborative development, I would recommend either adopting a different approach or working independently. |
Hi, thanks for you valuable comments. It is our intention to support collaborative development and we are very happy about your support! We did initially not agree with all your edits, some of which are style design decisions that we did not share. If there is good reason (e.g. standards that are adopted by other large packages) we are happy to revise our position. |
@m-reuter glad to hear, and thank you. |
I merged this branch into #16 to keep the changes from @ZviBaratz and its contribution in the git tree, but I did change the packaging/configuration slightly compared to this PR. The changes are now in #16 which supersedes this PR.
With those changes, the pure packaging aspects are covered and the library can be released easily on One more point, all the changes here aim at both improving the user experience by offering an easier install via Finally, further changes which are not related to packaging could be added in a future PR, e.g.
If you want, I don't mind opening those subsequent PR, transforming this repository and project further. You will then be able to use this repository as a 'template' to follow good practices and conventions for future projects of your lab. Apologies for the long post, please ask any question you might have. |
Wow, thanks so much for these fast edits. We will take a look. It would be great to automate the release in the future. Also the future PR ideas sound great. |
Created setup.cfg and pyproject.toml files, moved package directory to src/, applied black formatting. Resolves #9.