Book Image

Hands-On Software Engineering with Python

By : Brian Allbee, Nimesh Verma
Book Image

Hands-On Software Engineering with Python

By: Brian Allbee, Nimesh Verma

Overview of this book

Software Engineering is about more than just writing code—it includes a host of soft skills that apply to almost any development effort, no matter what the language, development methodology, or scope of the project. Being a senior developer all but requires awareness of how those skills, along with their expected technical counterparts, mesh together through a project's life cycle. This book walks you through that discovery by going over the entire life cycle of a multi-tier system and its related software projects. You'll see what happens before any development takes place, and what impact the decisions and designs made at each step have on the development process. The development of the entire project, over the course of several iterations based on real-world Agile iterations, will be executed, sometimes starting from nothing, in one of the fastest growing languages in the world—Python. Application of practices in Python will be laid out, along with a number of Python-specific capabilities that are often overlooked. Finally, the book will implement a high-performance computing solution, from first principles through complete foundation.
Table of Contents (21 chapters)
Free Chapter
1
Programming versus Software Engineering

Packaging and deploying the service

Since the hms_Gateway and hms_core projects each have their own setup.py file, the packaging and deployment process doesn't need to be any more complicated than doing the following:

  • Executing each setup.py to generate the installable package
  • Moving those package files to the server that is going to run the Gateway service
  • Installing them with the following code:
    • pip install HMS-Core-0.1.dev0.tar.gz
    • pip install HMS-Gateway-0.1.dev0.tar.gz
  • Creating, for new installations, the configuration file at the necessary location

The configuration needed to allow the Gateway daemon to start up automatically on system boot and shutdown with a system shutdown will vary based on the OS of the target machine (more on that in a bit).

If, on the other hand, there is a need for a single package, consolidating the src directories from all of the...