Skip to content

Commit

Permalink
QnQMaker py conf (#4936)
Browse files Browse the repository at this point in the history
  • Loading branch information
lmazuel authored Dec 18, 2018
1 parent a87e466 commit fe51070
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 24 deletions.
25 changes: 1 addition & 24 deletions specification/cognitiveservices/data-plane/QnAMaker/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,30 +53,7 @@ csharp:

## 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:
license-header: MICROSOFT_MIT_NO_VERSION
add-credentials: true
payload-flattening-threshold: 2
namespace: azure.cognitiveservices.knowledge.qnamaker
package-name: azure-cognitiveservices-knowledge-qnamaker
clear-output-folder: true
```
``` yaml $(python) && $(python-mode) == 'update'
python:
no-namespace-folders: true
output-folder: $(python-sdks-folder)/azure-cognitiveservices-qnamaker/azure/cognitiveservices/knowledge/qnamaker
```
``` yaml $(python) && $(python-mode) == 'create'
python:
basic-setup-py: true
output-folder: $(python-sdks-folder)/azure-cognitiveservices-knowledge-qnamaker
```
See configuration in [readme.python.md](./readme.python.md)

## Go

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
## 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:
license-header: MICROSOFT_MIT_NO_VERSION
add-credentials: true
payload-flattening-threshold: 2
namespace: azure.cognitiveservices.knowledge.qnamaker
package-name: azure-cognitiveservices-knowledge-qnamaker
clear-output-folder: true
```
``` yaml $(python) && $(python-mode) == 'update'
python:
no-namespace-folders: true
output-folder: $(python-sdks-folder)/azure-cognitiveservices-knowledge-qnamaker/azure/cognitiveservices/knowledge/qnamaker
```
``` yaml $(python) && $(python-mode) == 'create'
python:
basic-setup-py: true
output-folder: $(python-sdks-folder)/azure-cognitiveservices-knowledge-qnamaker
```

0 comments on commit fe51070

Please sign in to comment.