PyCharm provides action that helps create setup.py
script. Once
setup.py
is created, the corresponding action becomes disabled, but instead appears
the action that allows running tasks of this utility.
In this section:
- In the Project tool window, choose the project you want to package.
- On the main menu, choose .
- In the New Setup Script dialog box, specify package name, version and the other required information:
- Click OK when ready. PyCharm creates
setup.py
and opens it in the editor.
- 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.
See Also
Procedures:
External Links:
- Writing the Setup Script, Python 2.7.2 documentation
- Writing the Setup Script, Python 3.2.2 documentation
Web Resources: