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

Document support for installing python scripts #138

Closed
dnicolodi opened this issue Sep 13, 2022 · 3 comments
Closed

Document support for installing python scripts #138

dnicolodi opened this issue Sep 13, 2022 · 3 comments
Labels
documentation Improvements or additions to documentation

Comments

@dnicolodi
Copy link
Member

How can I install python scripts with meson-python replacing setuptool's console_scripts enty_point or [project.scripts] in pyproject.toml? If there is a vision of how this should look like I'm happy to try to work on the support.

@FFY00
Copy link
Member

FFY00 commented Sep 13, 2022

Hi, project.scripts (from PEP 621) is supported, so you may use it as you would on any other Python build backend (example: https://peps.python.org/pep-0621/#example). Alternatively, if you need to install any other scripts, executables in Meson are included in the package as scripts.

@FFY00 FFY00 added the enhancement New feature or request label Sep 13, 2022
@dnicolodi
Copy link
Member Author

Great. From the documentation it is not evident which features of PEP621 are supported.

@FFY00 FFY00 added the documentation Improvements or additions to documentation label Sep 13, 2022
@FFY00
Copy link
Member

FFY00 commented Sep 13, 2022

Noted. Thanks!

@rgommers rgommers removed the enhancement New feature or request label Sep 28, 2022
@rgommers rgommers changed the title Support for installing python scripts Document support for installing python scripts Sep 28, 2022
FFY00 added a commit to FFY00/meson-python that referenced this issue Jan 27, 2023
Closes mesonbuild#197, mesonbuild#230, mesonbuild#253, and mesonbuild#264
Sets us up to fix mesonbuild#138, mesonbuild#233, and mesonbuild#224

Signed-off-by: Filipe Laíns <lains@riseup.net>
FFY00 added a commit to FFY00/meson-python that referenced this issue Jan 27, 2023
Closes mesonbuild#197, mesonbuild#230, mesonbuild#253, and mesonbuild#264
Sets us up to fix mesonbuild#138, mesonbuild#233, and mesonbuild#224

Signed-off-by: Filipe Laíns <lains@riseup.net>
FFY00 added a commit to FFY00/meson-python that referenced this issue Jan 27, 2023
Closes mesonbuild#197, mesonbuild#230, mesonbuild#253, and mesonbuild#264
Sets us up to fix mesonbuild#138, mesonbuild#233, and mesonbuild#224

Signed-off-by: Filipe Laíns <lains@riseup.net>
FFY00 added a commit to FFY00/meson-python that referenced this issue Jan 27, 2023
Closes mesonbuild#197, mesonbuild#230, mesonbuild#253, and mesonbuild#264
Sets us up to fix mesonbuild#138, mesonbuild#233, and mesonbuild#224

Signed-off-by: Filipe Laíns <lains@riseup.net>
FFY00 added a commit to FFY00/meson-python that referenced this issue Jan 27, 2023
Closes mesonbuild#197, mesonbuild#230, mesonbuild#253, and mesonbuild#264
Sets us up to fix mesonbuild#138, mesonbuild#233, and mesonbuild#224

Signed-off-by: Filipe Laíns <lains@riseup.net>
FFY00 added a commit to FFY00/meson-python that referenced this issue Jan 27, 2023
Closes mesonbuild#197, mesonbuild#230, mesonbuild#253, and mesonbuild#264
Sets us up to fix mesonbuild#138, mesonbuild#233, and mesonbuild#224

Signed-off-by: Filipe Laíns <lains@riseup.net>
FFY00 added a commit to FFY00/meson-python that referenced this issue Jan 31, 2023
Closes mesonbuild#197, mesonbuild#230, mesonbuild#253, and mesonbuild#264
Sets us up to fix mesonbuild#138, mesonbuild#233, and mesonbuild#224

Signed-off-by: Filipe Laíns <lains@riseup.net>
FFY00 added a commit to FFY00/meson-python that referenced this issue Feb 1, 2023
Closes mesonbuild#197, mesonbuild#230, mesonbuild#253, and mesonbuild#264
Sets us up to fix mesonbuild#138, mesonbuild#233, and mesonbuild#224

Signed-off-by: Filipe Laíns <lains@riseup.net>
@FFY00 FFY00 closed this as completed in 8e3a139 Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants