summaryrefslogtreecommitdiff
path: root/examples/python
Commit message (Collapse)AuthorAgeFilesLines
* build: Depend on meson >= 0.55Carlos Garnacho2023-02-271-1/+1
| | | | We'll use some features from there.
* Make tracker:endpoint test work on macOSDaniele Nicolodi2021-04-191-4/+5
| | | | | | | | | | | | | | | | | | The symptom on my system are that the test fails to run because gi cannot find the shared library object for Tracker. This is due to the fact that $LD_LIBRARY_PATH is set by Meson but removed from the environment by the time the test is running. This is because the examples/python/endpoint.py scripts which uses '!#/usr/bin/env python' as a shebang and on macOS the env utility removes dynamic linker variables from the environment. Fix this by explicitly using python to execute the script. Use this opportunity for restructure how the Python installation and executable is looked up in the build definition: use the 'python' Meson module to lock for a suitable python in the main meson.build. Also, the test setup does not set $TRACKER_LANGUAGE_STOP_WORDS_DIR to point to the stop words directory in the source directory. Fix it.
* examples: Add endpoint exampleSam Thursfield2020-12-172-0/+101
|
* examples: Move Python query examples to tracker-miners.Sam Thursfield2020-12-172-34/+0
| | | | These query the Miner FS, so they should go with it.
* examples: Remove all-async.py querySam Thursfield2020-12-171-30/+0
| | | | It's not clear how this is different from query-async.py.
* examples: Remove miner exampleSam Thursfield2020-12-171-43/+0
| | | | libtracker-miner is private in Tracker 3.
* examples: Rename `introspection/python` -> `python`Sam Thursfield2020-12-174-0/+107