libratbag | DBus daemon to configure input devices
kandi X-RAY | libratbag Summary
kandi X-RAY | libratbag Summary
libratbag is packaged for some distributions, you can use your system’s package manager to install it. See [the wiki] for details.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of libratbag
libratbag Key Features
libratbag Examples and Code Snippets
Community Discussions
Trending Discussions on libratbag
QUESTION
In this script from one of the linux applications I use, I see words between the "@" sign such as @devel@
, and @gtk_major_version@
.
I would like to know what those are called, their functions in Python, and why the script has ".in" extension instead of ".py".
ANSWER
Answered 2019-Oct-08 at 10:32As mentioned in the comments, this is not Python syntax. Instead, the strings enclosed in @
are template variables that will be filled in by the Meson build system which is popular, e.g. with many projects that use GTK.
I this case the template will be used at build time to generate a script called just piper
(with the .in
removed) similarly to how autoconf generates files from templates, with the template variables replaced with values determined by the build system.
Using a build configure system to generate a Python script is slightly unusual but not at all unheard of either. I'm sure I've done the same before, albeit with autoconf.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install libratbag
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page