-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
MAINT: Switching to setuptools #69
Conversation
Can you edit the OP in this PR to describe what this does now and how it relates to #67? |
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.
This looks good to me!
Thanks @Schefflera-Arboricola !
Let's go ahead and merge this -- we can update further if other issues arise. |
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.
Sorry for tardiness, but this LGTM!
packages = [ | ||
'nx_parallel', | ||
'_nx_parallel', | ||
'nx_parallel.algorithms', | ||
'nx_parallel.algorithms.approximation', | ||
'nx_parallel.algorithms.bipartite', | ||
'nx_parallel.algorithms.centrality', | ||
'nx_parallel.algorithms.connectivity', | ||
'nx_parallel.algorithms.shortest_paths', | ||
'nx_parallel.utils', | ||
] |
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.
(sorry for commenting on a PR that's already merged)
It might be simpler and more maintainable to use [tool.setuptools.packages.find]
. For example
[tool.setuptools.packages.find]
include = [
"nx_parallel",
"nx_parallel.*",
"_nx_parallel",
]
origin PR #67 (Now, PR#67 is for adding additional linting settings in the future)
This PR switches the nx-parallel's building tool from
hatchling
tosetuptools
as it is more widely used and it's better for bigger projects and we need to explicitly mention all the packages(unlike hatchling) so that ensures that all packages are being built.pre-file-ignores under tool.ruff.lint section due to the following warning: