DEV Community

Yuta Goto
Yuta Goto

Posted on

export requirements.txt from Pipfile

これは .ごっ!のアドベントカレンダー の13日目の記事です。

Pipfile.lock ファイルから requirements.txt ファイルを生成する方法は以下のコマンドを実行します。

$ pipenv requirements > requirements.txt
Enter fullscreen mode Exit fullscreen mode

開発モジュールを含める場合は --dev オプションも付けます。

$ pipenv requirements --dev > requirements.txt
Enter fullscreen mode Exit fullscreen mode

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs