mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-08 19:33:55 +00:00
minor fix to python readme
This commit is contained in:
parent
ba74c69fdb
commit
56d1a11df5
@ -25,9 +25,9 @@ If the python package is hosted on Github, you can install directly from Github
|
||||
```sh
|
||||
pip install git+https://github.com/{{{gitUserId}}}/{{{gitRepoId}}}.git
|
||||
```
|
||||
(you may need to run the command with root permission: `sudo pip install git+https://github.com/{{{gitUserId}}}/{{{gitRepoId}}}.git`)
|
||||
(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/{{{gitUserId}}}/{{{gitRepoId}}}.git`)
|
||||
|
||||
Import the pacakge:
|
||||
Then import the package:
|
||||
```python
|
||||
import {{{packageName}}}
|
||||
```
|
||||
@ -41,19 +41,11 @@ python setup.py install --user
|
||||
```
|
||||
(or `sudo python setup.py install` to install the package for all users)
|
||||
|
||||
Import the pacakge:
|
||||
Then import the package:
|
||||
```python
|
||||
import {{{packageName}}}
|
||||
```
|
||||
|
||||
### Manual Installation
|
||||
|
||||
Download the latest release to the project folder (e.g. ./path/to/{{{packageName}}}) and import the package:
|
||||
|
||||
```python
|
||||
import path.to.{{{packageName}}}
|
||||
```
|
||||
|
||||
## Getting Started
|
||||
|
||||
Please follow the [installation procedure](#installation--usage) and then run the following:
|
||||
|
Loading…
Reference in New Issue
Block a user