2.2.6 Code distribution
General Purpose:
1.Create a folder, put source code and setup code inside of it.
2.Open Windows PowerShell, change the path to the source code path above
3.Build distribution file
Running command: e:\Python34\python.exe setup.py sdist
4.Install distribution to local python file
Running command: python setup.py install
(it also works as c:\Python27\python.exe setup.py install)
While build code with MinGW, run code below
c:\Python27\python.exe setup.py install build - -compiler=mingw32