## Remaining code
subdir('daemon')
subdir('modules')
-subdir('python')
+subdir('python' / 'knot_resolver')
subdir('utils')
if get_option('bench') == 'enabled'
subdir('bench')
# check python/knot_resolver/constants.py
echo -e "${yellow}python/knot_resolver/constants.py${reset}"
meson_setup_configure > /dev/null
-diff python/knot_resolver/constants.py $build_dir/python/constants.py
+diff python/knot_resolver/constants.py $build_dir/python/knot_resolver/constants.py
check_rv $?
echo
echo -----------------------------------------------
echo Copying constants.py module configured by Meson
echo -----------------------------------------------
-cp -v $build_dev_dir/python/constants.py $gitroot/python/knot_resolver/constants.py
+cp -v $build_dev_dir/python/knot_resolver/constants.py $gitroot/python/knot_resolver/constants.py
echo
schema_file="$gitroot/doc/_static/config.schema.json"
meson_setup_configure > /dev/null
-cp $build_dir/python/constants.py $gitroot/python/knot_resolver/constants.py
+cp $build_dir/python/knot_resolver/constants.py $gitroot/python/knot_resolver/constants.py
python -m knot_resolver.client schema > $schema_file
echo New configuration JSON schem saved to $schema_file
\ No newline at end of file
echo -----------------------------------------------
echo Copying constants.py module configured by Meson
echo -----------------------------------------------
-cp -v $build_dir/python/constants.py $gitroot/python/knot_resolver/constants.py
+cp -v $build_dir/python/knot_resolver/constants.py $gitroot/python/knot_resolver/constants.py
echo
\ No newline at end of file