Skip to content

Commit

Permalink
bpo-36010: Add venv to the nuget distribution (GH-12367)
Browse files Browse the repository at this point in the history
(cherry picked from commit e724152)

Co-authored-by: Paul Moore <p.f.moore@gmail.com>
  • Loading branch information
2 people authored and zooba committed Mar 30, 2019
1 parent bd48280 commit 3e78c7c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add the venv standard library module to the nuget distribution for Windows.
10 changes: 9 additions & 1 deletion PC/layout/support/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion Tools/nuget/make_pkg.proj
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down

0 comments on commit 3e78c7c

Please sign in to comment.