setuptoolsのinstall_requiresを使うべきです。 requirements.txtとinstall_requiresでは現時点では目的が異なっています。setup.pyに指定したinstall_requiresはパッケージ化の際にメタデータとしてパッケージに同梱されます。 requirements.txtを同梱してもそのような動作にはなりません。そのため、利用者がpip install hogehogeとしてそのパッケージをインストールしたときに正しく依存パッケージをインストールできるのは install_requiresを設定した場合です。また、メタデータはPythonのPEP345やPEP426でフォーマットと項目が規定されている標準仕様です。 requirements.txtはRequirementsフォーマットと呼ばれる形式でインストールするパッケージを列挙し
I am using dep to manage the dependencies of aGo tool I'm writing. This tool uses https://github.com/desertbit/grumble as an dependency. This in turn uses https://github.com/chzyer/readline as a dependency. The problem is that when trying to run my tool I get the followingerror: vendor/github.com/desertbit/grumble/app.go:295:20: unknown field 'HistorySearchFold' in struct literal of type readlin
1リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く