bpo-36010: Add venv to the nuget distribution (GH-12367) · python/cpython@3e78c7c (original) (raw)
3 files changed
lines changed
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
1 | +Add the venv standard library module to the nuget distribution for Windows. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -53,7 +53,15 @@ def public(f): | ||
53 | 53 | }, |
54 | 54 | "nuget": { |
55 | 55 | "help": "nuget package", |
56 | -"options": ["stable", "pip", "distutils", "dev", "props"], | |
56 | +"options": [ | |
57 | +"dev", | |
58 | +"tools", | |
59 | +"pip", | |
60 | +"stable", | |
61 | +"distutils", | |
62 | +"venv", | |
63 | +"props" | |
64 | + ], | |
57 | 65 | }, |
58 | 66 | "default": { |
59 | 67 | "help": "development kit package", |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -28,7 +28,7 @@ | ||
28 | 28 | <PythonArguments>$(PythonArguments) -b "$(BuildPath.TrimEnd(`\`))" -s "$(PySourcePath.TrimEnd(`\`))"</PythonArguments> |
29 | 29 | <PythonArguments>$(PythonArguments) -t "$(IntermediateOutputPath)obj"</PythonArguments> |
30 | 30 | <PythonArguments>$(PythonArguments) --copy "$(IntermediateOutputPath)pkg"</PythonArguments> |
31 | - <PythonArguments>$(PythonArguments) --include-dev --include-tools --include-pip --include-stable --include-launcher --include-props</PythonArguments> | |
31 | + <PythonArguments>$(PythonArguments) --preset-nuget</PythonArguments> | |
32 | 32 | |
33 | 33 | <PackageArguments Condition="$(Packages) != ''">"$(IntermediateOutputPath)pkg\pip.exe" -B -m pip install -U $(Packages)</PackageArguments> |
34 | 34 |