From 76d25770c3b0e4f864630558315445ea29696f5f Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Thu, 6 Jan 2022 11:00:21 +0800 Subject: [PATCH] Update readme.python.md --- .../resource-manager/readme.python.md | 35 ++++--------------- 1 file changed, 7 insertions(+), 28 deletions(-) diff --git a/specification/apimanagement/resource-manager/readme.python.md b/specification/apimanagement/resource-manager/readme.python.md index 4f77cb308462..0f12adb0e77d 100644 --- a/specification/apimanagement/resource-manager/readme.python.md +++ b/specification/apimanagement/resource-manager/readme.python.md @@ -2,43 +2,22 @@ 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) && !$(track2) -python-mode: create -python: - azure-arm: true - license-header: MICROSOFT_MIT_NO_VERSION - payload-flattening-threshold: 2 - namespace: azure.mgmt.apimanagement - package-name: azure-mgmt-apimanagement - package-version: 0.1.0 - clear-output-folder: true -``` -``` yaml $(python) && $(track2) -python-mode: create +``` yaml $(track2) azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION -namespace: azure.mgmt.apimanagement package-name: azure-mgmt-apimanagement -package-version: 0.1.0 +no-namespace-folders: true +package-version: 1.0.0b1 clear-output-folder: true ``` -``` yaml $(python) && $(python-mode) == 'update' && !$(track2) -python: - no-namespace-folders: true - output-folder: $(python-sdks-folder)/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement -``` -``` yaml $(python) && $(python-mode) == 'create' && !$(track2) -python: - basic-setup-py: true - output-folder: $(python-sdks-folder)/apimanagement/azure-mgmt-apimanagement -``` -``` yaml $(python) && $(python-mode) == 'update' && $(track2) + +``` yaml $(python-mode) == 'update' && $(track2) no-namespace-folders: true output-folder: $(python-sdks-folder)/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement ``` -``` yaml $(python) && $(python-mode) == 'create' && $(track2) + +``` yaml $(python-mode) == 'create' && $(track2) basic-setup-py: true output-folder: $(python-sdks-folder)/apimanagement/azure-mgmt-apimanagement ```