Contents
Validates package requirements
- Python:
- termcolor == 1.1.0
The last stable release is available on PyPI and can be installed with pip
$ pip install pkgdependency
Using Function
from pkgdependency import verify_dependency verify_dependency(path/to/requirements)
Using Command
$ pkgdep path/to/requirements
Example of a case in which the requirements are not met
>>> VERSION CONFLICT: examplepkg(1.0.0) => (2.0) >>> NOT FOUND: examplepkg(any)
Create requirement text
$ my_project $ tree requirements/ /requirements/ ├── base.txt ├── local.txt └── server.txt
Create base requirement
$ pip freeze > base.txt
Create environment requirement
-r base.txt pytest==2.7.0
Copyright - Copyright (C) 2016 gumi Inc.
```sequence Title: アプリケーションサービス・シーケンス ユーザー->クライアントアプリ: アプリ起動 クライアントアプリ-->OAUTH認証先: ログイン OAUTH認証先->>WEBアプリケーション: 認証OK WEBアプリケーション->WEBアプリケーション: データベースnとのやり取り等n各種処理 WEBアプリケーション-->>ユーザー: ログイン認証完了・セッション開始