Lines Matching refs:package_dir
50 def add_resources(packaged_resources: list, package_dir: str, packing_cmd: list):
53 package_dir,
55 index_file_path = os.path.join(package_dir, 'resources.index')
58 resources_path = os.path.join(package_dir, 'resources')
63 def add_assets(options, package_dir: str, packing_cmd: list):
66 assets_dir = os.path.join(package_dir, 'ets')
67 js_assets_dir = os.path.join(package_dir, 'js')
69 assets_dir = os.path.join(package_dir, 'assets')
73 package_dir,
106 def tweak_hap_profile(options, package_dir: str):
110 hap_profile = os.path.join(package_dir, config_name)
126 with build_utils.temp_dir() as package_dir, tempfile.NamedTemporaryFile(
132 hap_profile_path = os.path.join(package_dir,
136 add_assets(options, package_dir, packing_cmd)
138 add_resources(options.packaged_resources, package_dir, packing_cmd)
140 tweak_hap_profile(options, package_dir)
142 lib_path = os.path.join(package_dir, "lib")