2016-05-03 4 views

答えて

0

次のようにIはtox.iniに変化install_commandを追加することによって解決:

#!/bin/sh 
# This script is used as `install_command` for `tox` in order to log to stdout 
# the requirements that are being installed. 

pip install [email protected] | tee /dev/tty 
install_deps

install_command = ./install_deps {opts} {packages} 

0

実行ごとに何がインストールされているかを確認したい場合は、pip freezeをどうしたらいいですか? commandsセクションに追加すると、インストールされたパッケージが要件の形式でダンプされます。ただ、予想されるパッケージがインストールされていることを確実にするために -

commands = 
    pip freeze 
    ... rest of your commands here. 

私はしばしばecho_versions.pyが、私は実行ごとに興味のパッケージのバージョンを示した小さなスクリプトですpython echo_versions.pyのような何かをするためにこの戦略を使用します。

関連する問題