forked from winpython/winpython
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwinpython_builds.toml
More file actions
95 lines (79 loc) · 2.84 KB
/
Copy pathwinpython_builds.toml
File metadata and controls
95 lines (79 loc) · 2.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
# WinPython local builds - every Python minor in one file.
#
# A build is a (python, flavor) pair. Everything else is derived:
#
# basedir = {root_dir_for_builds}\bd{python}
# requirements = {basedir}\{flavor requirements}
# source_dirs = {basedir}\{flavor source_dirs}
# wheelhousereq = {basedir}\{flavor wheelhousereq}
# toolsdirs = {root_dir_for_builds}\{flavor toolsdirs}
#
# so a new Python minor is one [pythons."3XX"] block, and its flavors are the
# names listed in "builds".
#
# Requirement files may differ per Python: name them again in
# [pythons."3XX".overrides.<flavor>], which replaces that flavor's entries for
# that Python alone. Any other build key goes there too (bytecode, ...).
#
# Typical local build:
# generate_a_winpython_distropy_meta.bat winpython_builds.toml 315:slim
# generate_a_winpython_distropy_meta.bat winpython_builds.toml 315
# generate_a_winpython_distropy_meta.bat winpython_builds.toml
# ... --dry-run prints the build commands instead of running them
[defaults]
root_dir_for_builds = "C:\\Winp"
find_links = "C:\\Winp\\packages.srcreq"
arch = "64"
create_installer = "None"
# mandatory_requirements.txt and constraints.txt come from beside this file
# unless a build names its own.
# ---- flavors: what makes a slim a slim --------------------------------------
[flavors.dot]
requirements = "dot_requirements.txt"
source_dirs = "packages.win-amd64"
toolsdirs = "bdTools\\Tools.dot"
[flavors.dotf]
requirements = "dot_requirements.txt"
source_dirs = "packages.win-amd64t"
toolsdirs = "bdTools\\Tools.dot"
[flavors.slim]
requirements = "requirements_slim.txt"
source_dirs = "packages.win-amd64"
toolsdirs = "bdTools\\tools64_pandoc_alone"
[flavors.slimf]
requirements = "requirements_slimf.txt"
source_dirs = "packages.win-amd64t"
toolsdirs = "bdTools\\tools64_pandoc_alone"
# Not built at the moment: no python below lists it.
[flavors.whl]
requirements = "dot_requirements.txt"
source_dirs = "packages.win-amd64"
toolsdirs = "bdTools\\Tools.dot"
wheelhousereq = "requirements_whl.txt"
# ---- pythons: what gets built -----------------------------------------------
[pythons."313"]
python_target_release = "31315"
release = "0"
my_release_level = "b3"
builds = ["dot", "slim"]
# A Python that names a requirements file its own way says so here:
# [pythons."313".overrides.slim]
# requirements = "requirements64_slim.txt"
[pythons."314"]
python_target_release = "3147"
release = "0"
my_release_level = "b3"
builds = ["dot", "dotf", "slim", "slimf"]
[pythons."314".overrides.slimf]
bytecode = "none"
# [pythons."314".overrides.slim]
# create_installer = ".7z-mx7"
[pythons."315"]
python_target_release = "3150"
release = "4"
my_release_level = "b3"
builds = ["dot", "dotf", "slim", "slimf"]
# [pythons."315".overrides.slim]
# bytecode = "none"
# [pythons."315".overrides.slimf]
# bytecode = "none"