diff --git a/specification/subscription/resource-manager/readme.md b/specification/subscription/resource-manager/readme.md index 806ebfb5b5f6..461dc794f01b 100644 --- a/specification/subscription/resource-manager/readme.md +++ b/specification/subscription/resource-manager/readme.md @@ -129,13 +129,16 @@ This is not used by Autorest itself. swagger-to-sdk: - repo: azure-sdk-for-net - repo: azure-sdk-for-go - - repo: azure-sdk-for-python + - repo: azure-sdk-for-python-track2 - repo: azure-sdk-for-node - repo: azure-sdk-for-js - repo: azure-cli-extensions - repo: azure-resource-manager-schemas ``` +## Pyhton + +See configuration in [readme.pyhton.md](./readme.python.md) ## Go diff --git a/specification/subscription/resource-manager/readme.python.md b/specification/subscription/resource-manager/readme.python.md index 2200f76e8538..85e1d3960602 100644 --- a/specification/subscription/resource-manager/readme.python.md +++ b/specification/subscription/resource-manager/readme.python.md @@ -4,39 +4,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.subscription - package-name: azure-mgmt-subscription - clear-output-folder: true -``` -``` yaml $(python) && $(track2) + +``` yaml $(python) python-mode: create azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION namespace: azure.mgmt.subscription package-name: azure-mgmt-subscription +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)/subscription/azure-mgmt-subscription/azure/mgmt/subscription -``` -``` yaml $(python) && $(python-mode) == 'create' && !$(track2) -python: - basic-setup-py: true - output-folder: $(python-sdks-folder)/subscription/azure-mgmt-subscription -``` -``` yaml $(python) && $(python-mode) == 'update' && $(track2) + +``` yaml $(python) && $(python-mode) == 'update' no-namespace-folders: true output-folder: $(python-sdks-folder)/subscription/azure-mgmt-subscription/azure/mgmt/subscription ``` -``` yaml $(python) && $(python-mode) == 'create' && $(track2) +``` yaml $(python) && $(python-mode) == 'create' basic-setup-py: true output-folder: $(python-sdks-folder)/subscription/azure-mgmt-subscription ```