Packaging Python Scripts into CLI Commands

Chris Doucette
3 min readNov 28, 2018

Introduction

Today I want to show you how you can turn a python script from this:

$ python3 coolscript.py

To this:

$ coolscript

How It’s Done

How you are able to change a python script into a full fledged CLI command is by leveraging setup.py. I…

--

--