© Matthew Wilkes 2020
M. WilkesAdvanced Python Developmenthttps://doi.org/10.1007/978-1-4842-5793-7_3

3. Packaging scripts

Matthew Wilkes1 
(1)
Leeds, West Yorkshire, UK
 

We want the Python code that we’ve developed so far to run on several different computers, but as it’s currently stored as a directory of Python files, it’s difficult to deploy updated versions and to ensure that all deployments are synchronized. We’ve already interacted with package management in Python throughout the last two chapters with our use of the pipenv script, but the next step is to use this system ourselves, rather than only depend on it.

The packaging process used in Python has been in flux for several years. The overall process has been improving steadily, and changes ...

Get Advanced Python Development: Using Powerful Language Features in Real-World Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.