Add attribute global_resource_dir in setup.cfg and load it when starting.