Skip to content

Commit

Permalink
Fix Python conf for MLS (Azure#6452)
Browse files Browse the repository at this point in the history
  • Loading branch information
lmazuel authored Jun 27, 2019
1 parent 2d50240 commit e188291
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 27 deletions.
27 changes: 0 additions & 27 deletions specification/machinelearningservices/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,33 +86,6 @@ csharp:
clear-output-folder: true
```

## Python

These settings apply only when `--python` is specified on the command line.
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
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.machinelearningservices
package-name: azure-mgmt-machinelearningservices
package-version: 0.1.0
clear-output-folder: true
```
``` yaml $(python) && $(python-mode) == 'update'
python:
no-namespace-folders: true
output-folder: $(python-sdks-folder)/azure-mgmt-machinelearningservices/azure/mgmt/machinelearningservices
```
``` yaml $(python) && $(python-mode) == 'create'
python:
basic-setup-py: true
output-folder: $(python-sdks-folder)/azure-mgmt-machinelearningservices
```

## Go

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
## Python

These settings apply only when `--python` is specified on the command line.
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
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.machinelearningservices
package-name: azure-mgmt-machinelearningservices
package-version: 0.1.0
clear-output-folder: true
```
``` yaml $(python) && $(python-mode) == 'update'
python:
no-namespace-folders: true
output-folder: $(python-sdks-folder)/machinelearning/azure-mgmt-machinelearningservices/azure/mgmt/machinelearningservices
```
``` yaml $(python) && $(python-mode) == 'create'
python:
basic-setup-py: true
output-folder: $(python-sdks-folder)/machinelearning/azure-mgmt-machinelearningservices
```

0 comments on commit e188291

Please sign in to comment.