Skip to content

A script that downloads a chosen version of Meson to the current directory.

License

Notifications You must be signed in to change notification settings

averms/getmeson.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

getmeson.py

description

A Python script that downloads a release of the Meson build system to ./meson-portable/. Use it in your projects if your meson.build uses new Meson features not widely available in Linux distro repositories yet and you don't want to require users to pip install meson. Also use it to freeze a specific version of Meson that you know works correctly.

usage

Copy the the file getmeson.py into your source tree. Update VERSION and SHA256 at the top of the script when you want to change the version it downloads.

options

-n signals a dry run (print what is going to be downloaded).

exit status

Exit code of 0 is good, it means you already have Meson or the download was successful. Exit code of 1 means that something went wrong.

license

Distributed under the 0-clause BSD license, a public-domain-equivalent license approved by the Open Source Initiative.

About

A script that downloads a chosen version of Meson to the current directory.

Topics

Resources

License

Stars

Watchers

Forks