Add github repo information to the generator config

This commit is contained in:
mbohlool 2016-11-15 17:38:48 -08:00
parent db2f4fbcd8
commit 4e8cca08d3
2 changed files with 4 additions and 2 deletions

View File

@ -75,9 +75,9 @@ Python 2.7 and 3.4+
If the python package is hosted on Github, you can install directly from Github
```sh
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
pip install git+https://github.com/kubernetes-incubator/client-python.git
```
(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`)
(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/kubernetes-incubator/client-python.git`)
Then import the package:
```python

View File

@ -19,6 +19,8 @@
<configuration>
<inputSpec>${generator.spec.path}</inputSpec>
<language>python</language>
<gitUserId>kubernetes-incubator</gitUserId>
<gitRepoId>client-python</gitRepoId>
<configOptions>
<packageName>${generator.package.name}</packageName>
<sortParamsByRequiredFlag>true</sortParamsByRequiredFlag>