-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Refactor Extension Modules #53346
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
Refactor Extension Modules #53346
Conversation
'include_dirs': inc_datetime} | ||
'np_datetime': {'sources': ['np_datetime.pyx']}, | ||
'offsets': {'sources': ['offsets.pyx']}, | ||
'parsing': {'sources': ['parsing.pyx', '../src/parser/tokenizer.c']}, |
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'm not sure why this still needs tokenizer.c as a source - should be replaced via the capsule import but likely missed
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.
Nice! I like the /vendored/
distinction
Thanks @WillAyd |
Just merged main and now im getting build errors
(my builds in general have gotten a lot more troublesome since the meson change, dont know if this is related) |
Try to wipe your build folder and start from scratch with meson. I don't know that meson handles changes in the file system that gracefully compared to our old methodology |
* Working refactor with setuptools * Meson updates * fixed missing source files * Missing graft
* Working refactor with setuptools * Meson updates * fixed missing source files * Missing graft
This puts all source files in
pandas/_libs/src
and all header files inpandas/_libs/include
This simplifies our includes, letting us do them in an "absolute" way, while also making it clear which headers/sources were vendored