加大订单PDF公司抬头并修复Win7打包环境复用
This commit is contained in:
@@ -35,9 +35,9 @@ def assemble(cache, output):
|
||||
continue
|
||||
if name.endswith('.py') or name.startswith(('po_app/templates/', 'po_app/static/')):
|
||||
copy(REPO/name, name)
|
||||
for name in ['build.py', 'selftest.py', 'probe_exe.py', 'requirements-win7.txt', 'make_waitress_wheel.py']:
|
||||
for name in ['build.py', 'selftest.py', 'probe_exe.py', 'requirements-win7.txt', 'make_waitress_wheel.py', 'install_env.ps1']:
|
||||
copy(HERE/name, 'win7/' + name)
|
||||
for name in ['01_install_env.cmd', '02_build_exe.cmd']:
|
||||
for name in ['00_check_environment.cmd', '01_install_env.cmd', '02_build_exe.cmd']:
|
||||
(output/name).write_bytes((HERE/name).read_text(encoding='utf-8').replace('\r\n', '\n').replace('\n', '\r\n').encode('ascii'))
|
||||
(output/'README_WIN7.txt').write_text((HERE/'README_WIN7.md').read_text(encoding='utf-8'), encoding='utf-8-sig')
|
||||
copy(REPO/'output/pdf/博特维采购订单系统_v4_使用与升级手册.pdf', 'manual/博特维采购订单系统_v4_使用与升级手册.pdf')
|
||||
@@ -64,6 +64,7 @@ def assemble(cache, output):
|
||||
raise ValueError('Incomplete wheel set: %s, missing %s' % (arch, set(pins)-set(selected)))
|
||||
copy(cache/'waitress-3.0.2-py3-none-any.whl', 'third_party/waitress-3.0.2-py3-none-any.whl')
|
||||
info = {'source_commit': commit, 'created_at': datetime.now().isoformat(timespec='seconds'),
|
||||
'setup_revision': '20260917-reuse-installed-python',
|
||||
'purpose': 'Build v4 on the target Windows 7 SP1 server',
|
||||
'architectures': ['x86', 'x64'], 'python': '3.8.10',
|
||||
'windows7_field_verified': False,
|
||||
|
||||
Reference in New Issue
Block a user