{"id":13440114,"url":"https://github.com/mesonbuild/meson","last_synced_at":"2026-04-05T20:04:35.994Z","repository":{"id":17020226,"uuid":"19784232","full_name":"mesonbuild/meson","owner":"mesonbuild","description":"The Meson Build System","archived":false,"fork":false,"pushed_at":"2026-03-29T19:32:47.000Z","size":47091,"stargazers_count":6447,"open_issues_count":2510,"forks_count":1853,"subscribers_count":113,"default_branch":"master","last_synced_at":"2026-03-29T20:47:03.582Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://mesonbuild.com","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mesonbuild.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"contributing.md","funding":".github/FUNDING.yml","license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["eli-schwartz"],"custom":["https://mesonbuild.com/Donating.html"]}},"created_at":"2014-05-14T15:08:16.000Z","updated_at":"2026-03-29T20:41:21.000Z","dependencies_parsed_at":"2023-09-23T14:18:19.137Z","dependency_job_id":"c7bde79a-a66a-4a3f-9d97-0eac4f3cf42e","html_url":"https://github.com/mesonbuild/meson","commit_stats":{"total_commits":12665,"total_committers":886,"mean_commits":"14.294582392776524","dds":0.7632056849585471,"last_synced_commit":"07bd28732ebe07ed68772590cff5b16813038843"},"previous_names":[],"tags_count":197,"template":false,"template_full_name":null,"purl":"pkg:github/mesonbuild/meson","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mesonbuild%2Fmeson","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mesonbuild%2Fmeson/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mesonbuild%2Fmeson/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mesonbuild%2Fmeson/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mesonbuild","download_url":"https://codeload.github.com/mesonbuild/meson/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mesonbuild%2Fmeson/sbom","scorecard":{"id":107840,"data":{"date":"2025-08-04","repo":{"name":"github.com/mesonbuild/meson","commit":"14c2300ddefcb5d92f099bd8661ee8edd33cc73a"},"scorecard":{"version":"v5.2.1-28-gc1d103a9","commit":"c1d103a9bb9f635ec7260bf9aa0699466fa4be0e"},"score":6.1,"checks":[{"name":"Code-Review","score":8,"reason":"Found 6/7 approved changesets -- score normalized to 8","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#code-review"}},{"name":"Maintained","score":10,"reason":"30 commit(s) and 17 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#maintained"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#cii-best-practices"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#dangerous-workflow"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: COPYING:0","Info: FSF or OSI recognized license: Apache License 2.0: COPYING:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#license"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#branch-protection"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: topLevel 'contents' permission set to 'read': .github/workflows/cygwin.yml:28","Info: topLevel 'contents' permission set to 'read': .github/workflows/file_format.yml:10","Info: topLevel 'contents' permission set to 'read': .github/workflows/images.yml:26","Info: topLevel 'contents' permission set to 'read': .github/workflows/lint.yml:24","Info: topLevel 'contents' permission set to 'read': .github/workflows/macos.yml:28","Info: topLevel 'contents' permission set to 'read': .github/workflows/msys2.yml:28","Info: topLevel 'contents' permission set to 'read': .github/workflows/nightly.yml:15","Info: topLevel 'contents' permission set to 'read': .github/workflows/nonnative.yml:26","Info: topLevel 'contents' permission set to 'read': .github/workflows/os_comp.yml:30","Info: topLevel 'contents' permission set to 'read': .github/workflows/stable_builddir.yml:9","Info: topLevel 'contents' permission set to 'read': .github/workflows/unusedargs_missingreturn.yml:40","Warn: topLevel 'contents' permission set to 'write': .github/workflows/website.yml:25","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#token-permissions"}},{"name":"Signed-Releases","score":8,"reason":"5 out of the last 5 releases have a total of 5 signed artifacts.","details":["Info: signed release artifact: meson-1.9.0rc1.tar.gz.asc: https://github.com/mesonbuild/meson/releases/tag/1.9.0rc1","Info: signed release artifact: meson-1.8.3.tar.gz.asc: https://github.com/mesonbuild/meson/releases/tag/1.8.3","Info: signed release artifact: meson-1.8.2.tar.gz.asc: https://github.com/mesonbuild/meson/releases/tag/1.8.2","Info: signed release artifact: meson-1.8.1.tar.gz.asc: https://github.com/mesonbuild/meson/releases/tag/1.8.1","Info: signed release artifact: meson-1.8.0.tar.gz.asc: https://github.com/mesonbuild/meson/releases/tag/1.8.0","Warn: release artifact 1.9.0rc1 does not have provenance: https://api.github.com/repos/mesonbuild/meson/releases/236999372","Warn: release artifact 1.8.3 does not have provenance: https://api.github.com/repos/mesonbuild/meson/releases/236413825","Warn: release artifact 1.8.2 does not have provenance: https://api.github.com/repos/mesonbuild/meson/releases/224141756","Warn: release artifact 1.8.1 does not have provenance: https://api.github.com/repos/mesonbuild/meson/releases/220745998","Warn: release artifact 1.8.0 does not have provenance: https://api.github.com/repos/mesonbuild/meson/releases/215291552"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#signed-releases"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/images.yml:29"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#packaging"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#fuzzing"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/cygwin.yml:48: update your workflow using https://app.stepsecurity.io/secureworkflow/mesonbuild/meson/cygwin.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/cygwin.yml:58: update your workflow using https://app.stepsecurity.io/secureworkflow/mesonbuild/meson/cygwin.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/cygwin.yml:60: update your workflow using https://app.stepsecurity.io/secureworkflow/mesonbuild/meson/cygwin.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/cygwin.yml:93: update your workflow using https://app.stepsecurity.io/secureworkflow/mesonbuild/meson/cygwin.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/cygwin.yml:109: update your workflow using https://app.stepsecurity.io/secureworkflow/mesonbuild/meson/cygwin.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/file_format.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/mesonbuild/meson/file_format.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/file_format.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/mesonbuild/meson/file_format.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/images.yml:50: update your workflow using https://app.stepsecurity.io/secureworkflow/mesonbuild/meson/images.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/images.yml:55: update your workflow using https://app.stepsecurity.io/secureworkflow/mesonbuild/meson/images.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lint.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/mesonbuild/meson/lint.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lint.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/mesonbuild/meson/lint.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lint.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/mesonbuild/meson/lint.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lint.yml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/mesonbuild/meson/lint.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lint.yml:51: update your workflow using https://app.stepsecurity.io/secureworkflow/mesonbuild/meson/lint.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lint.yml:52: update your workflow using https://app.stepsecurity.io/secureworkflow/mesonbuild/meson/lint.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/macos.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/mesonbuild/meson/macos.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/macos.yml:71: update your workflow using https://app.stepsecurity.io/secureworkflow/mesonbuild/meson/macos.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/macos.yml:111: update your workflow using https://app.stepsecurity.io/secureworkflow/mesonbuild/meson/macos.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/macos.yml:112: update your workflow using https://app.stepsecurity.io/secureworkflow/mesonbuild/meson/macos.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/macos.yml:124: update your workflow using https://app.stepsecurity.io/secureworkflow/mesonbuild/meson/macos.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/macos.yml:130: update your workflow using https://app.stepsecurity.io/secureworkflow/mesonbuild/meson/macos.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/msys2.yml:64: update your workflow using https://app.stepsecurity.io/secureworkflow/mesonbuild/meson/msys2.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/msys2.yml:66: update your workflow using https://app.stepsecurity.io/secureworkflow/mesonbuild/meson/msys2.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/msys2.yml:130: update your workflow using https://app.stepsecurity.io/secureworkflow/mesonbuild/meson/msys2.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/nightly.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/mesonbuild/meson/nightly.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/nightly.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/mesonbuild/meson/nightly.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/nonnative.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/mesonbuild/meson/nonnative.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/nonnative.yml:49: update your workflow using https://app.stepsecurity.io/secureworkflow/mesonbuild/meson/nonnative.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/os_comp.yml:62: update your workflow using https://app.stepsecurity.io/secureworkflow/mesonbuild/meson/os_comp.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/os_comp.yml:85: update your workflow using https://app.stepsecurity.io/secureworkflow/mesonbuild/meson/os_comp.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/os_comp.yml:142: update your workflow using https://app.stepsecurity.io/secureworkflow/mesonbuild/meson/os_comp.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/stable_builddir.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/mesonbuild/meson/stable_builddir.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/unusedargs_missingreturn.yml:47: update your workflow using https://app.stepsecurity.io/secureworkflow/mesonbuild/meson/unusedargs_missingreturn.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/unusedargs_missingreturn.yml:48: update your workflow using https://app.stepsecurity.io/secureworkflow/mesonbuild/meson/unusedargs_missingreturn.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/unusedargs_missingreturn.yml:62: update your workflow using https://app.stepsecurity.io/secureworkflow/mesonbuild/meson/unusedargs_missingreturn.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/unusedargs_missingreturn.yml:63: update your workflow using https://app.stepsecurity.io/secureworkflow/mesonbuild/meson/unusedargs_missingreturn.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/website.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/mesonbuild/meson/website.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/website.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/mesonbuild/meson/website.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/website.yml:50: update your workflow using https://app.stepsecurity.io/secureworkflow/mesonbuild/meson/website.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/website.yml:79: update your workflow using https://app.stepsecurity.io/secureworkflow/mesonbuild/meson/website.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/website.yml:86: update your workflow using https://app.stepsecurity.io/secureworkflow/mesonbuild/meson/website.yml/master?enable=pin","Warn: pipCommand not pinned by hash: ci/ciimage/bionic/install.sh:59","Warn: pipCommand not pinned by hash: ci/ciimage/common.sh:43","Warn: pipCommand not pinned by hash: ci/ciimage/common.sh:48","Warn: pipCommand not pinned by hash: ci/ciimage/gentoo/install.sh:163","Warn: downloadThenRun not pinned by hash: ci/ciimage/opensuse/install.sh:43","Warn: downloadThenRun not pinned by hash: ci/ciimage/ubuntu-rolling/install.sh:63","Warn: pipCommand not pinned by hash: .github/workflows/lint.yml:36","Warn: pipCommand not pinned by hash: .github/workflows/lint.yml:46","Warn: pipCommand not pinned by hash: .github/workflows/lint.yml:57","Warn: pipCommand not pinned by hash: .github/workflows/macos.yml:37","Warn: pipCommand not pinned by hash: .github/workflows/macos.yml:38","Warn: pipCommand not pinned by hash: .github/workflows/macos.yml:88","Warn: pipCommand not pinned by hash: .github/workflows/macos.yml:116","Warn: pipCommand not pinned by hash: .github/workflows/nightly.yml:26","Warn: pipCommand not pinned by hash: .github/workflows/website.yml:48","Info:   0 out of  35 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   6 third-party GitHubAction dependencies pinned","Info:   0 out of  13 pipCommand dependencies pinned","Info:   0 out of   2 downloadThenRun dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#pinned-dependencies"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 29 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-15T11:26:43.844Z","repository_id":17020226,"created_at":"2025-08-15T11:26:43.844Z","updated_at":"2025-08-15T11:26:43.844Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31448219,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T15:22:31.103Z","status":"ssl_error","status_checked_at":"2026-04-05T15:22:00.205Z","response_time":75,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-07-31T03:01:19.907Z","updated_at":"2026-04-05T20:04:35.988Z","avatar_url":"https://github.com/mesonbuild.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.9: **1.11**\n- Python 3.8: **1.11**\n- Python 3.7: **1.11**\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://github.com/sponsors/eli-schwartz","https://mesonbuild.com/Donating.html"],"categories":["HarmonyOS","Python","\u003ca id=\"tag-dev\" href=\"#tag-dev\"\u003eDev\u003c/a\u003e","Python (144)","By Language","Build Systems"],"sub_categories":["Windows Manager","\u003ca id=\"tag-dev.build\" href=\"#tag-dev.build\"\u003eBuild\u003c/a\u003e","Python"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmesonbuild%2Fmeson","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmesonbuild%2Fmeson","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmesonbuild%2Fmeson/lists"}