Lines Matching refs:notice_file
67 notice_file = contents[0].get('License File').strip()
70 if notice_file is None:
80 return os.path.join(os.path.dirname(readme_path), notice_file), notice_name, notice_version
86 notice_file = options.license_file
87 if notice_file:
96 if notice_file is None:
104 notice_file = notice_file_info[0]
108 if notice_file is None:
109 notice_file = find_license_recursively(options.module_source_dir)
123 if notice_file:
129 notice_files = notice_file.split(',')
134 for notice_file in notice_files:
135 notice_file = notice_file.strip()
136 if not os.path.exists(notice_file):
137 notice_file = os.path.join(options.module_source_dir, notice_file)
138 if os.path.exists(notice_file):
141 write_notice_to_output(notice_file, output)
146 depfiles.append(notice_file)
149 def write_notice_to_output(notice_file, output): argument
150 with os.fdopen(os.open(notice_file, os.O_RDWR | os.O_CREAT, stat.S_IWUSR | stat.S_IRUSR),