PyCharm 2016.3 Help

Creating Requirement Files

On this page:

Creating requirements

To define requirements, follow these general steps

  1. Create new file in the root directory of your project.
  2. In the New File dialog box, specify the file name.
  3. Type the names of the required packages as plain text. Note that recursive requirements syntax is supported: you can use the main requirements file, and include the other requirements with -r syntax.

Configuring the default requirements file

To configure the default requirements file

  1. Open the Settings/Preferences dialog box, and then click the page Python Integrated Tools.
  2. In the Package requirements file field, type the name of the requirements file. By default, requirements.txt is suggested. You can either accept default, or click the browse button and locate the desired file.

See Also

Last modified: 23 December 2016