-- Config
select set_config('omni_python.cmake_binary_dir', :'CMAKE_BINARY_DIR', false);
alter system set omni_python.cmake_binary_dir TO :'CMAKE_BINARY_DIR';
select pg_reload_conf();

-- Extensions
create extension omni_python cascade;

-- Configure the wheels
insert
into
    omni_python.config (name, value)
values
    ('pip_find_links', current_setting('omni_python.cmake_binary_dir') || '/python-wheels');

-- Get omni_python in
select omni_python.install_requirements('omni_python');