bpo-36010: Add venv to the nuget distribution (GH-12367)
This commit is contained in:
parent
e653d4d8e8
commit
e724152796
|
@ -0,0 +1 @@
|
|||
Add the venv standard library module to the nuget distribution for Windows.
|
|
@ -53,7 +53,15 @@ PRESETS = {
|
|||
},
|
||||
"nuget": {
|
||||
"help": "nuget package",
|
||||
"options": ["stable", "pip", "distutils", "dev", "props"],
|
||||
"options": [
|
||||
"dev",
|
||||
"tools",
|
||||
"pip",
|
||||
"stable",
|
||||
"distutils",
|
||||
"venv",
|
||||
"props"
|
||||
],
|
||||
},
|
||||
"default": {
|
||||
"help": "development kit package",
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in New Issue