(setup_dir, pkg_dir)
| 147 | |
| 148 | |
| 149 | def copy_tools_installer_files(setup_dir, pkg_dir): |
| 150 | variables = dict() |
| 151 | variables["VERSION"] = VERSION |
| 152 | variables["SYSCONFIG_PLATFORM"] = sysconfig.get_platform() |
| 153 | |
| 154 | shutil.copy( |
| 155 | os.path.join(INSTALLER_DIR, "cefpython3.README.txt"), |
| 156 | os.path.join(setup_dir, "README.txt")) |
| 157 | |
| 158 | copy_template_file( |
| 159 | os.path.join(INSTALLER_DIR, "cefpython3.setup.py"), |
| 160 | os.path.join(setup_dir, "setup.py"), |
| 161 | variables) |
| 162 | |
| 163 | copy_template_file( |
| 164 | os.path.join(INSTALLER_DIR, "cefpython3.__init__.py"), |
| 165 | os.path.join(pkg_dir, "__init__.py"), |
| 166 | variables) |
| 167 | |
| 168 | |
| 169 | def copy_template_file(src, dst, variables): |
no test coverage detected