8000 bpo-36010: Add venv to the nuget distribution (GH-12367) · python/cpython@e724152 · GitHub
[go: up one dir, main page]

Skip to content

Commit e724152

Browse files
pfmoorezooba
authored andcommitted
bpo-36010: Add venv to the nuget distribution (GH-12367)
1 parent e653d4d commit e724152

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add the venv standard library module to the nuget distribution for Windows.

PC/layout/support/options.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,15 @@ def public(f):
5353
},
5454
"nuget": {
5555
"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+
],
5765
},
5866
"default": {
5967
"help": "development kit package",

Tools/nuget/make_pkg.proj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<PythonArguments>$(PythonArguments) -b "$(BuildPath.TrimEnd(`\`))" -s "$(PySourcePath.TrimEnd(`\`))"</PythonArguments>
2929
<PythonArguments>$(PythonArguments) -t "$(IntermediateOutputPath)obj"</PythonArguments>
3030
<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>
3232

3333
<PackageArguments Condition="$(Packages) != ''">"$(IntermediateOutputPath)pkg\pip.exe" -B -m pip install -U $(Packages)</PackageArguments>
3434

0 commit comments

Comments
 (0)
0