There is an updated post with more information posted. Please visit the “PACKAGE YOUR PYTHON CODE MADE SIMPLE & FAST” for more details.
The following link demonstrates a simple way to create and package a pip install ready module with the help of cookie cutter. The link provided very clear explanation of the steps.
To add on, if you experience difficulties or problems using command prompt to enter GitHub commands. The git portion can be skipped and use the GitHub GUI instead to upload the package to GitHub.
For uploading to pip, would need to have the latest python 2.7 (2.7.11 above) to upload the package successfully.
More links below on creating packages.