Show More
@@ -389,9 +389,8 b' def record_commit_info(pkg_dir, build_cmd=build_py):' | |||||
389 | # We write the installation commit even if it's empty |
|
389 | # We write the installation commit even if it's empty | |
390 | out_pth = pjoin(self.build_lib, pkg_dir, 'utils', '_sysinfo.py') |
|
390 | out_pth = pjoin(self.build_lib, pkg_dir, 'utils', '_sysinfo.py') | |
391 | with io.open(out_pth, 'w') as out_file: |
|
391 | with io.open(out_pth, 'w') as out_file: | |
392 |
|
|
392 | out_file.writelines([ | |
393 | u"# GENERATED BY setup.py", |
|
393 | u"# GENERATED BY setup.py\n", | |
394 | u"commit = '%s'" % repo_commit, |
|
394 | u"commit = '%s'\n" % repo_commit, | |
395 |
] |
|
395 | ]) | |
396 | out_file.write(line + u'\n') |
|
|||
397 | return MyBuildPy |
|
396 | return MyBuildPy |
General Comments 0
You need to be logged in to leave comments.
Login now