Skip to content

Commit 6f31fc9

Browse files
authored
add media track2 config (#11868)
1 parent dcc2c56 commit 6f31fc9

File tree

2 files changed

+47
-26
lines changed

2 files changed

+47
-26
lines changed

specification/mediaservices/resource-manager/readme.md

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -194,32 +194,7 @@ csharp:
194194

195195
## Python
196196

197-
These settings apply only when `--python` is specified on the command line.
198-
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
199-
Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.
200-
201-
``` yaml $(python)
202-
python-mode: create
203-
python:
204-
azure-arm: true
205-
license-header: MICROSOFT_MIT_NO_VERSION
206-
payload-flattening-threshold: 2
207-
namespace: azure.mgmt.media
208-
package-name: azure-mgmt-media
209-
clear-output-folder: true
210-
```
211-
212-
``` yaml $(python) && $(python-mode) == 'update'
213-
python:
214-
no-namespace-folders: true
215-
output-folder: $(python-sdks-folder)/media/azure-mgmt-media/azure/mgmt/media
216-
```
217-
218-
``` yaml $(python) && $(python-mode) == 'create'
219-
python:
220-
basic-setup-py: true
221-
output-folder: $(python-sdks-folder)/media/azure-mgmt-media
222-
```
197+
See configuration in [readme.python.md](./readme.python.md)
223198

224199
## Go
225200

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
## Python
2+
3+
These settings apply only when `--python` is specified on the command line.
4+
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
5+
Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.
6+
7+
``` yaml $(python) && !$(track2)
8+
python-mode: create
9+
python:
10+
azure-arm: true
11+
license-header: MICROSOFT_MIT_NO_VERSION
12+
payload-flattening-threshold: 2
13+
namespace: azure.mgmt.media
14+
package-name: azure-mgmt-media
15+
clear-output-folder: true
16+
```
17+
``` yaml $(python) && $(track2)
18+
python-mode: create
19+
azure-arm: true
20+
license-header: MICROSOFT_MIT_NO_VERSION
21+
namespace: azure.mgmt.media
22+
package-name: azure-mgmt-media
23+
clear-output-folder: true
24+
```
25+
26+
``` yaml $(python) && $(python-mode) == 'update' && !$(track2)
27+
python:
28+
no-namespace-folders: true
29+
output-folder: $(python-sdks-folder)/media/azure-mgmt-media/azure/mgmt/media
30+
```
31+
32+
``` yaml $(python) && $(python-mode) == 'create' && !$(track2)
33+
python:
34+
basic-setup-py: true
35+
output-folder: $(python-sdks-folder)/media/azure-mgmt-media
36+
```
37+
38+
``` yaml $(python) && $(python-mode) == 'update' && $(track2)
39+
no-namespace-folders: true
40+
output-folder: $(python-sdks-folder)/media/azure-mgmt-media/azure/mgmt/media
41+
```
42+
43+
``` yaml $(python) && $(python-mode) == 'create' && $(track2)
44+
basic-setup-py: true
45+
output-folder: $(python-sdks-folder)/media/azure-mgmt-media
46+
```

0 commit comments

Comments
 (0)