-
Notifications
You must be signed in to change notification settings - Fork 20
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
Group meson commands in preparation for other build systems #52
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
from ._build import build | ||
from ._test import test | ||
from ._shell import ipython, python, shell | ||
from . import meson | ||
|
||
# Backward compatibility with older versions | ||
build = meson.build | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we issue a deprecation warning for people still using these directly? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sure, do you know of an easy way to implement that? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You can try a module-level |
||
test = meson.test | ||
ipython = meson.ipython | ||
python = meson.python | ||
shell = meson.shell |
This file was deleted.
This file was deleted.
This file was deleted.
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.
https://mesonbuild.com/ should be the right link here.
devpy does not invoke meson-python through the devpy meson commands so this could be confusing.
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.
The build backend is
mesonpy
, but the build engine ismeson
. My thought was that this is an easier place to start:https://meson-python.readthedocs.io/en/latest/tutorials/introduction.html#tutorial-introduction