title: How to create a rpm for python application
body: <p>I have a simple application (just one .py file), that is using cherrypy &amp; flask-restful to present a web service. My development environment is Windows. I use Python 3.5.2 and also create and use virtualenv to work on my project.</p>
  
  <p>I have a need to deploy this on Linux systems. I was asked to create a "RPM" for this so that it can be installed and run on Linux machines.</p>
  
  <p>I have googled and read several pieces of documentation:</p>
  
  <ul>
  <li><a href="https://docs.python.org/3.5/distutils/builtdist.html" rel="noreferrer">https://docs.python.org/3.5/distutils/builtdist.html</a></li>
  <li><a href="http://docs.python-guide.org/en/latest/shipping/packaging/" rel="noreferrer">http://docs.python-guide.org/en/latest/shipping/packaging/</a></li>
  </ul>
  
  <p>But I'm very unclear on the steps that needs to be done to deploy this on a Linux system. Thanks in advance for all your help.</p>