Creating Requirement Files
On this page:
Creating requirements
To define requirements, follow these general steps
- Create new file in the root directory of your project.
- In the New File dialog box, specify the file name.
- 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
- Open the Settings/Preferences dialog box, and then click the page Python Integrated Tools.
- 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