I wrote this post in my journey to adapt Python with Django framework as my tool in the next project. A little bit skeptical and some holding back since I had background in PHP and C# .Net. But, I have no choice because Python is already team’s decision for new projects. So, here I go with learning new language and framework again.

In the way, sometimes I can not find a distributable package for your Python version. In one case, I would like to install setuptools to install other packages, soaplib which I need to build a SOAP web service. This is because most of our legacy applications are using C# which using SOAP to interface with web services, otherwise, I prefer to create REST based web service. Anyway, this is just my beginner way of thinking.

So, enough with the mumbling, below is how it is:

  • Unpack the source into a folder.
  • Using command prompt, go to the folder and run command below ( I assume that you already set your python PATH and can run Python command from command prompt).
  • python setup.py bdist_wininst
  • Voila! An executable installer for your installed Python version will be available in dist sub folder.

Very easy isn’t it? Yeah, if it is that easy for me to find how in the first place, I would’nt write this post.

Bookmark and Share