Skip to content

DOC: Add note for building with setuptools #53227

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

Merged
merged 4 commits into from
May 17, 2023
Merged

Conversation

phofl
Copy link
Member

@phofl phofl commented May 14, 2023

  • closes #xxxx (Replace xxxx with the GitHub issue number)
  • Tests added and passed if fixing a bug or adding a new feature
  • All code checks passed.
  • Added type annotations to new arguments/methods/functions.
  • Added an entry in the latest doc/source/whatsnew/vX.X.X.rst file if fixing a bug or adding a new feature.

@phofl phofl requested a review from lithomas1 May 14, 2023 16:08
@phofl phofl added the Docs label May 14, 2023
@phofl phofl added this to the 2.1 milestone May 14, 2023
If pandas is already installed, you have to uninstall it first::

pip uninstall pandas

Copy link
Member

Choose a reason for hiding this comment

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

I think it is good to add the context for why you should uninstall it.

e.g.
"This is because python setup.py develop will not uninstall the loader script that meson-python uses to import the extension from the build folder, which may cause errors such as an FileNotFoundError to be raised."

Copy link
Member Author

Choose a reason for hiding this comment

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

done

.. note::
If pandas is already installed, you have to uninstall it first::

pip uninstall pandas
Copy link
Contributor

Choose a reason for hiding this comment

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

Rather than raw pip, should you use python -m pip uninstall pandas, which seems to be more consistent with the rest of the page?

Copy link
Member Author

Choose a reason for hiding this comment

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

done

@mroeschke mroeschke merged commit c280178 into pandas-dev:main May 17, 2023
@mroeschke
Copy link
Member

Thanks @phofl

@phofl phofl deleted the doc_meson branch May 17, 2023 16:46
topper-123 pushed a commit to topper-123/pandas that referenced this pull request May 22, 2023
* DOC: Add note for building with setuptools

* Update doc/source/development/contributing_environment.rst

Co-authored-by: Thomas Li <[email protected]>

* Update

---------

Co-authored-by: Thomas Li <[email protected]>
Daquisu pushed a commit to Daquisu/pandas that referenced this pull request Jul 8, 2023
* DOC: Add note for building with setuptools

* Update doc/source/development/contributing_environment.rst

Co-authored-by: Thomas Li <[email protected]>

* Update

---------

Co-authored-by: Thomas Li <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants