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

BLD: Add meson build scripts #49114

Merged
merged 2 commits into from
Oct 17, 2022
Merged

Conversation

lithomas1
Copy link
Member

  • 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.

In preparation for the rest of the meson build system support.

@lithomas1 lithomas1 added the Build Library building on various platforms label Oct 15, 2022
@lithomas1 lithomas1 added this to the 2.0 milestone Oct 15, 2022
@lithomas1 lithomas1 marked this pull request as ready for review October 15, 2022 14:40
@lithomas1 lithomas1 changed the title BLD: Add script to generate pxi from pxi.in for meson BLD: Add meson build scripts Oct 15, 2022
@lithomas1 lithomas1 mentioned this pull request Oct 15, 2022
5 tasks
@lithomas1 lithomas1 requested a review from WillAyd October 15, 2022 15:35
Copy link
Member

@WillAyd WillAyd left a comment

Choose a reason for hiding this comment

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

Lgtm

@mroeschke mroeschke merged commit 0914e94 into pandas-dev:main Oct 17, 2022
@mroeschke
Copy link
Member

Thanks, just some questions to follow up


def write_version_info(path):
if os.environ.get("MESON_DIST_ROOT"):
# raise ValueError("dist root is", os.environ.get("MESON_DIST_ROOT"))
Copy link
Member

Choose a reason for hiding this comment

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

If you could remove in a follow up that would be great

import argparse
import os

import versioneer
Copy link
Member

Choose a reason for hiding this comment

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

So this won't be our vendored versioneer?

Copy link
Member Author

Choose a reason for hiding this comment

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

Oops. I forgot to update this when I moved it into scripts, will fix it in my next PR.

Unfortunately, I don't think we are able to use non-vendored versioneer.

@lithomas1 lithomas1 deleted the generate-pxi branch October 17, 2022 20:05
noatamir pushed a commit to noatamir/pandas that referenced this pull request Nov 9, 2022
* BLD: Add script to generate pxi from pxi.in for meson

* BLD: Add scripts to generate the project version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Build Library building on various platforms
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants