Skip to content

Commit 1d952b7

Browse files
BigCat20196msyyc
andauthored
Update readme and readme python (#15923)
* Update readme and readme python * Update readme.python.md Co-authored-by: msyyc <[email protected]>
1 parent 5d09c12 commit 1d952b7

File tree

2 files changed

+2
-56
lines changed

2 files changed

+2
-56
lines changed

specification/quota/resource-manager/readme.md

Lines changed: 1 addition & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ This is not used by Autorest itself.
6969
``` yaml $(swagger-to-sdk)
7070
swagger-to-sdk:
7171
- repo: azure-sdk-for-net
72-
- repo: azure-sdk-for-python
72+
- repo: azure-sdk-for-python-track2
7373
- repo: azure-sdk-for-java
7474
- repo: azure-sdk-for-go
7575
- repo: azure-sdk-for-js
@@ -98,36 +98,6 @@ csharp:
9898

9999
## Python
100100

101-
These settings apply only when `--python` is specified on the command line.
102-
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
103-
Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.
104-
105-
``` yaml $(python)
106-
python-mode: create
107-
python:
108-
azure-arm: true
109-
license-header: MICROSOFT_MIT_NO_VERSION
110-
payload-flattening-threshold: 2
111-
namespace: azure.mgmt.quota
112-
package-name: azure-mgmt-quota
113-
package-version: 0.1.0
114-
clear-output-folder: true
115-
```
116-
117-
``` yaml $(python) && $(python-mode) == 'update'
118-
python:
119-
no-namespace-folders: true
120-
output-folder: $(python-sdks-folder)/quota/azure-mgmt-quota/azure/mgmt/quota
121-
```
122-
123-
``` yaml $(python) && $(python-mode) == 'create'
124-
python:
125-
basic-setup-py: true
126-
output-folder: $(python-sdks-folder)/quota/azure-mgmt-quota
127-
```
128-
129-
## Python
130-
131101
See configuration in [readme.python.md](./readme.python.md)
132102

133103
## CLI

specification/quota/resource-manager/readme.python.md

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -4,40 +4,16 @@ These settings apply only when `--python` is specified on the command line.
44
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
55
Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.
66

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.quota
14-
package-name: azure-mgmt-quota
15-
package-version: 0.1.0
16-
clear-output-folder: true
17-
```
18-
197
``` yaml $(python) && $(track2)
208
python-mode: create
219
azure-arm: true
2210
license-header: MICROSOFT_MIT_NO_VERSION
2311
namespace: azure.mgmt.quota
2412
package-name: azure-mgmt-quota
25-
package-version: 0.1.0
13+
package-version: 1.0.0b1
2614
clear-output-folder: true
2715
```
2816
29-
``` yaml $(python) && $(python-mode) == 'update' && !$(track2)
30-
python:
31-
no-namespace-folders: true
32-
output-folder: $(python-sdks-folder)/quota/azure-mgmt-quota/azure/mgmt/quota
33-
```
34-
35-
``` yaml $(python) && $(python-mode) == 'create' && !$(track2)
36-
python:
37-
basic-setup-py: true
38-
output-folder: $(python-sdks-folder)/quota/azure-mgmt-quota
39-
```
40-
4117
``` yaml $(python) && $(python-mode) == 'update' && $(track2)
4218
no-namespace-folders: true
4319
output-folder: $(python-sdks-folder)/quota/azure-mgmt-quota/azure/mgmt/quota

0 commit comments

Comments
 (0)