From 56d1a11df5dd54086fa0d3551cad732f424ecebd Mon Sep 17 00:00:00 2001 From: wing328 Date: Wed, 30 Mar 2016 18:14:31 +0800 Subject: [PATCH] minor fix to python readme --- .../src/main/resources/python/README.mustache | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/modules/swagger-codegen/src/main/resources/python/README.mustache b/modules/swagger-codegen/src/main/resources/python/README.mustache index 8ea60023b85..a1ba2f0d298 100644 --- a/modules/swagger-codegen/src/main/resources/python/README.mustache +++ b/modules/swagger-codegen/src/main/resources/python/README.mustache @@ -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: