Fix typos

This commit is contained in:
Harri Berglund 2015-04-28 20:16:02 +03:00
parent 843f6b66f8
commit fb87e41b63
2 changed files with 4 additions and 4 deletions

View File

@ -47,9 +47,9 @@ Example
$ pipreqs /home/project/location
Looking for imports
Getting latest version of packages information from PyPi
Getting latest information about packages from PyPI
Found third-party imports: flask, requests, sqlalchemy, docopt
Successfuly saved requirements file in: /home/project/location/requirements.txt
Successfully saved requirements file in /home/project/location/requirements.txt
Why not pip freeze?
-------------------

View File

@ -86,12 +86,12 @@ def get_imports_info(imports):
def init(args):
print("Looking for imports")
imports = get_all_imports(args['<path>'])
print("Getting latest version of packages information from PyPi")
print("Getting latest information about packages from PyPI")
imports_with_info = get_imports_info(imports)
print("Found third-party imports: " + ", ".join(imports))
path = args["--savepath"] if args["--savepath"] else os.path.join(args['<path>'], "requirements.txt")
generate_requirements_file(path, imports_with_info)
print("Successfuly saved requirements file in: " + path)
print("Successfully saved requirements file in " + path)
def main(): # pragma: no cover