From 461e7f7272e853ec40468a50098aee887f6a847c Mon Sep 17 00:00:00 2001 From: Laurent Mazuel Date: Thu, 4 Jan 2018 15:28:05 -0800 Subject: [PATCH] Add Python conf to provisioningservices --- .../resource-manager/readme.md | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/specification/provisioningservices/resource-manager/readme.md b/specification/provisioningservices/resource-manager/readme.md index 3c576a159814..c3471d09e537 100644 --- a/specification/provisioningservices/resource-manager/readme.md +++ b/specification/provisioningservices/resource-manager/readme.md @@ -63,6 +63,33 @@ csharp: clear-output-folder: true ``` +## Python + +These settings apply only when `--python` is specified on the command line. +Please also specify `--python-sdks-folder=`. +Use `--python-mode=update` if you already have a setup.py and just want to update the code itself. + +``` yaml $(python) +python-mode: create +python: + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + payload-flattening-threshold: 2 + namespace: azure.mgmt.iothubprovisioningservices + package-name: azure-mgmt-iothubprovisioningservices + clear-output-folder: true +``` +``` yaml $(python) && $(python-mode) == 'update' +python: + no-namespace-folders: true + output-folder: $(python-sdks-folder)/azure-mgmt-iothubprovisioningservices/azure/mgmt/iothubprovisioningservices +``` +``` yaml $(python) && $(python-mode) == 'create' +python: + basic-setup-py: true + output-folder: $(python-sdks-folder)/azure-mgmt-iothubprovisioningservices +``` + ## Go These settings apply only when `--go` is specified on the command line.