bpo-36010: Add venv to the nuget distribution (GH-12367)

This commit is contained in:
Paul Moore 2019-03-30 16:32:05 +00:00 committed by Steve Dower
parent e653d4d8e8
commit e724152796
3 changed files with 11 additions and 2 deletions

View file

@ -0,0 +1 @@
Add the venv standard library module to the nuget distribution for Windows.

View file

@ -53,7 +53,15 @@ def public(f):
},
"nuget": {
"help": "nuget package",
"options": ["stable", "pip", "distutils", "dev", "props"],
"options": [
"dev",
"tools",
"pip",
"stable",
"distutils",
"venv",
"props"
],
},
"default": {
"help": "development kit package",

View file

@ -28,7 +28,7 @@
<PythonArguments>$(PythonArguments) -b "$(BuildPath.TrimEnd(`\`))" -s "$(PySourcePath.TrimEnd(`\`))"</PythonArguments>
<PythonArguments>$(PythonArguments) -t "$(IntermediateOutputPath)obj"</PythonArguments>
<PythonArguments>$(PythonArguments) --copy "$(IntermediateOutputPath)pkg"</PythonArguments>
<PythonArguments>$(PythonArguments) --include-dev --include-tools --include-pip --include-stable --include-launcher --include-props</PythonArguments>
<PythonArguments>$(PythonArguments) --preset-nuget</PythonArguments>
<PackageArguments Condition="$(Packages) != ''">"$(IntermediateOutputPath)pkg\pip.exe" -B -m pip install -U $(Packages)</PackageArguments>