-
Notifications
You must be signed in to change notification settings - Fork 42
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
Python CMakeExtension
#14
Conversation
@@ -36,5 +87,7 @@ | |||
'dev': dev_requires, | |||
}, | |||
packages=find_packages(), | |||
ext_modules=[CMakeExtension('libpyg')], |
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.
A little confused about naming it libpyg
('lib' as library prefix) but in python having torch.ops.pyg
, and folder name pyg_lib
. Is there a way to make them look consistent or specify them in doc?
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 currently do not see an easy way to do this.
lib*.so
is the standard naming of librariespyg
is the namespacepyg_lib
is the Python package name.
I added a TODO here which we can look into later. Hope that works for you :)
Allows
cmake
build viapip install .