-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
DOC: documentation on how to add cython with meson #25537
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
Comments
Hey @adrinjalali, you shouldn't need to change anything in the Simplest way to get started: mamba env create -f environment.yml
mamba activate numpy-dev
spin build # or `spin test` If you're having a specific problem or running into a build error, can you add more details about what you did and are seeing? |
I'll assume this was a simple misunderstanding, and close this. If not, please comment again @adrinjalali and we'll reopen. |
So the issue is that I was adding cython files in a separate folder to isolate that part of the code, which means I would need to add a new Then then issue is still that I don't know how to make it understand where the numpy import directory is. In other projects they all use the same code to get the import folder, but I'm having a hard time understanding how that works in numpy itself. |
Ah okay, that clears up what you were trying to do.
All you need to do is add Feel free to point me to your branch if you need a hand. |
Issue with current documentation:
I'm trying to port some code from pandas to numpy on
np.unique
(ref: #11136) and the main challenge I have is to figure out how to make the build work, specifically make the numpy include dir specified in the meson build file.Idea or request for content:
It would be nice to have a little section under [advanced] build or advanced contributions to show people how they can do it.
The text was updated successfully, but these errors were encountered: