Creating and Running setup.py
PyCharm provides an action that helps create
setup.py script, intended for building, distributing, and installing modules.
setup.py is created, the corresponding action becomes disabled, but instead appears the action that allows running tasks of this utility.
To create setup.py for a project
To run a task of the setup.py utility
- On the main menu, choose .
- In the Enter setup.py task name dialog box, type the letters of the task names. Note that asterisk wildcard and initial letters of the snake_case names are honored.
As you type, the suggestion list shrinks to show the matching names only. Choose the desired task, and press Enter.