{"id":14977803,"url":"https://github.com/numpy/meson","last_synced_at":"2025-10-02T12:30:59.055Z","repository":{"id":194624581,"uuid":"676530710","full_name":"numpy/meson","owner":"numpy","description":"NumPy's friendly fork of the Meson build system","archived":false,"fork":true,"pushed_at":"2024-03-28T12:18:36.000Z","size":38028,"stargazers_count":3,"open_issues_count":1,"forks_count":4,"subscribers_count":4,"default_branch":"main-numpymeson","last_synced_at":"2024-04-12T04:13:15.744Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://mesonbuild.com","language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"mesonbuild/meson","license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/numpy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"contributing.md","funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null},"funding":{"open_collective":"numpy","tidelift":"pypi/numpy","custom":"https://numpy.org/about/#donate"}},"created_at":"2023-08-09T12:12:57.000Z","updated_at":"2024-04-12T04:13:15.744Z","dependencies_parsed_at":"2023-09-14T10:29:02.431Z","dependency_job_id":null,"html_url":"https://github.com/numpy/meson","commit_stats":null,"previous_names":["numpy/meson"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numpy%2Fmeson","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numpy%2Fmeson/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numpy%2Fmeson/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numpy%2Fmeson/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/numpy","download_url":"https://codeload.github.com/numpy/meson/tar.gz/refs/heads/main-numpymeson","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234779806,"owners_count":18885271,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-24T13:56:21.636Z","updated_at":"2025-10-02T12:30:59.044Z","avatar_url":"https://github.com/numpy.png","language":"Python","readme":"\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://mesonbuild.com/assets/images/meson_logo.png\"\u003e\n\u003c/p\u003e\nMeson® is a project to create the best possible next-generation\nbuild system.\n\n#### Status\n\n[![PyPI](https://img.shields.io/pypi/v/meson.svg)](https://pypi.python.org/pypi/meson)\n[![Build Status](https://dev.azure.com/jussi0947/jussi/_apis/build/status/mesonbuild.meson)](https://dev.azure.com/jussi0947/jussi/_build/latest?definitionId=1)\n[![Codecov](https://codecov.io/gh/mesonbuild/meson/coverage.svg?branch=master)](https://codecov.io/gh/mesonbuild/meson/branch/master)\n\n#### Dependencies\n\n - [Python](https://python.org) (version 3.7 or newer)\n - [Ninja](https://ninja-build.org) (version 1.8.2 or newer)\n\nLatest Meson version supporting previous Python versions:\n- Python 3.6: **0.61.5**\n- Python 3.5: **0.56.2**\n- Python 3.4: **0.45.1**\n\n#### Installing from source\n\nMeson is available on [PyPI](https://pypi.python.org/pypi/meson), so\nit can be installed with `pip3 install meson`.  The exact command to\ntype to install with `pip` can vary between systems, be sure to use\nthe Python 3 version of `pip`.\n\nIf you wish you can install it locally with the standard Python command:\n\n```console\npython3 -m pip install meson\n```\n\nFor builds using Ninja, Ninja can be downloaded directly from Ninja\n[GitHub release page](https://github.com/ninja-build/ninja/releases)\nor via [PyPI](https://pypi.python.org/pypi/ninja)\n\n```console\npython3 -m pip install ninja\n```\n\nMore on Installing Meson build can be found at the\n[getting meson page](https://mesonbuild.com/Getting-meson.html).\n\n#### Creating a standalone script\n\nMeson can be run as a [Python zip\napp](https://docs.python.org/3/library/zipapp.html). To generate the\nexecutable run the following command:\n\n    ./packaging/create_zipapp.py --outfile meson.pyz --interpreter '/usr/bin/env python3' \u003csource checkout\u003e\n\n#### Running\n\nMeson requires that you have a source directory and a build directory\nand that these two are different. In your source root must exist a\nfile called `meson.build`. To generate the build system run this\ncommand:\n\n`meson setup \u003csource directory\u003e \u003cbuild directory\u003e`\n\nDepending on how you obtained Meson the command might also be called\n`meson.py` instead of plain `meson`. In the rest of this document we\nare going to use the latter form.\n\nYou can omit either of the two directories, and Meson will substitute\nthe current directory and autodetect what you mean. This allows you to\ndo things like this:\n\n```console\ncd \u003csource root\u003e\nmeson setup builddir\n```\n\nTo compile, cd into your build directory and type `ninja`. To run unit\ntests, type `ninja test`.\n\nMore on running Meson build system commands can be found at the\n[running meson page](https://mesonbuild.com/Running-Meson.html)\nor by typing `meson --help`.\n\n#### Contributing\n\nWe love code contributions. See the [contribution\npage](https://mesonbuild.com/Contributing.html) on the website for\ndetails.\n\n\n#### IRC\n\nThe channel to use is `#mesonbuild` either via Matrix ([web\ninterface][matrix_web]) or [OFTC IRC][oftc_irc].\n\n[matrix_web]: https://app.element.io/#/room/#mesonbuild:matrix.org\n[oftc_irc]: https://www.oftc.net/\n\n#### Further info\n\nMore information about the Meson build system can be found at the\n[project's home page](https://mesonbuild.com).\n\nMeson is a registered trademark of ***Jussi Pakkanen***.\n","funding_links":["https://opencollective.com/numpy","https://tidelift.com/funding/github/pypi/numpy","https://numpy.org/about/#donate"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnumpy%2Fmeson","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnumpy%2Fmeson","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnumpy%2Fmeson/lists"}