]> granicus.if.org Git - python/commitdiff
bpo-36010: Add venv to the nuget distribution (GH-12367)
authorPaul Moore <p.f.moore@gmail.com>
Sat, 30 Mar 2019 16:32:05 +0000 (16:32 +0000)
committerSteve Dower <steve.dower@microsoft.com>
Sat, 30 Mar 2019 16:32:05 +0000 (09:32 -0700)
Misc/NEWS.d/next/Windows/2019-03-16-10-24-58.bpo-36010.dttWfp.rst [new file with mode: 0644]
PC/layout/support/options.py
Tools/nuget/make_pkg.proj

diff --git a/Misc/NEWS.d/next/Windows/2019-03-16-10-24-58.bpo-36010.dttWfp.rst b/Misc/NEWS.d/next/Windows/2019-03-16-10-24-58.bpo-36010.dttWfp.rst
new file mode 100644 (file)
index 0000000..32c57c4
--- /dev/null
@@ -0,0 +1 @@
+Add the venv standard library module to the nuget distribution for Windows.
\ No newline at end of file
index 76d9e34e1f46a53ea2a42c58f913f79f7795025c..22492f220d606e6bae507045b7a5d52617e96714 100644 (file)
@@ -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",
index e093a6d0bd76b0ff2901a18cf683f5ac331eefb4..5638952ac9f9e25f3d2a26042265d2d3e4459bdd 100644 (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>