minor fix to python readme

This commit is contained in:
wing328 2016-03-30 18:14:31 +08:00
parent ba74c69fdb
commit 56d1a11df5

View File

@ -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: