Skip to content
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

DOC: Fix doc build warning for random. #24225

Merged
merged 1 commit into from
Jul 23, 2023
Merged

Conversation

liang3zy22
Copy link
Contributor

Fix documentation build warning. The original setup.py is deleted. So update it to meson.build.

@mattip
Copy link
Member

mattip commented Jul 21, 2023

I think the file name should change too, which means changing where it is included as well.

@@ -6,6 +6,6 @@ Extending `numpy.random` via Cython


.. toctree::
setup.py.rst
messon.build.rst
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Being a bit nitpicky about the file name here:

Suggested change
messon.build.rst
meson.build.rst

but also, I believe since this is still in transition, we may want to add a note that meson is the new build system, for those expecting a setup.py file? Something like

.. note::

Starting with NumPy 1.26.0, Meson is the default build system for NumPy.
See :ref:`distutils-status-migration`.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@charris charris merged commit 0aaa5d3 into numpy:main Jul 23, 2023
58 checks passed
@charris
Copy link
Member

charris commented Jul 23, 2023

Thanks @liang3zy22 .

@liang3zy22 liang3zy22 deleted the docwarning branch July 24, 2023 00:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants