Artifact 17a8f2730a1780d51912f852be29bf5cee966d0894c9f04ad3992a96543ab756:
- File build_MTGProxyPrinter_packages.bat — part of check-in [882e6bf7d5] at 2024-03-27 22:57:48 on branch refactor_build_system — The packaging scripts now only use the native Python 3 version to package, and not any additional versions that may be around. (user: thomas size: 446) [more...]
0000: 3a 3a 20 47 65 6e 65 72 61 74 65 20 61 6e 20 61 :: Generate an a 0010: 70 70 6c 69 63 61 74 69 6f 6e 20 62 75 6e 64 6c pplication bundl 0020: 65 20 75 73 69 6e 67 20 63 78 5f 46 72 65 65 7a e using cx_Freez 0030: 65 0d 0a 0d 0a 3a 3a 20 43 72 65 61 74 65 20 6f e....:: Create o 0040: 72 20 61 63 74 69 76 61 74 65 20 74 68 65 20 62 r activate the b 0050: 75 69 6c 64 20 65 6e 76 69 72 6f 6e 6d 65 6e 74 uild environment 0060: 0d 0a 49 46 20 45 58 49 53 54 20 22 76 65 6e 76 ..IF EXIST "venv 0070: 22 20 28 0d 0a 20 20 63 61 6c 6c 20 76 65 6e 76 " (.. call venv 0080: 5c 53 63 72 69 70 74 73 5c 61 63 74 69 76 61 74 \Scripts\activat 0090: 65 2e 62 61 74 0d 0a 29 20 45 4c 53 45 20 28 0d e.bat..) ELSE (. 00a0: 0a 20 20 63 61 6c 6c 20 63 72 65 61 74 65 5f 64 . call create_d 00b0: 65 76 65 6c 6f 70 6d 65 6e 74 5f 65 6e 76 69 72 evelopment_envir 00c0: 6f 6e 6d 65 6e 74 2e 62 61 74 0d 0a 29 0d 0a 0d onment.bat..)... 00d0: 0a 3a 3a 20 43 72 65 61 74 65 20 61 20 70 6c 61 .:: Create a pla 00e0: 74 66 6f 72 6d 2d 64 65 70 65 6e 64 65 6e 74 2c tform-dependent, 00f0: 20 70 6f 72 74 61 62 6c 65 20 62 75 69 6c 64 20 portable build 0100: 69 6e 20 74 68 65 20 62 75 69 6c 64 20 64 69 72 in the build dir 0110: 65 63 74 6f 72 79 0d 0a 3a 3a 20 61 6e 64 20 61 ectory..:: and a 0120: 6e 20 4d 53 49 2d 62 61 73 65 64 20 69 6e 73 74 n MSI-based inst 0130: 61 6c 6c 65 72 20 69 6e 20 74 68 65 20 64 69 73 aller in the dis 0140: 74 20 64 69 72 65 63 74 6f 72 79 2e 0d 0a 3a 3a t directory...:: 0150: 20 41 6c 73 6f 20 63 72 65 61 74 65 73 20 61 20 Also creates a 0160: 63 72 6f 73 73 2d 70 6c 61 74 66 6f 72 6d 20 50 cross-platform P 0170: 79 74 68 6f 6e 20 73 64 69 73 74 20 61 6e 64 20 ython sdist and 0180: 77 68 65 65 6c 20 70 61 63 6b 61 67 65 20 69 6e wheel package in 0190: 20 74 68 65 20 64 69 73 74 20 64 69 72 65 63 74 the dist direct 01a0: 6f 72 79 2e 0d 0a 74 6f 78 20 72 75 6e 20 2d 66 ory...tox run -f 01b0: 20 70 79 33 20 70 61 63 6b 61 67 65 0d 0a py3 package..