<p>How do I turn a python program into an .egg file?</p>

[{'answer_id': 49169, 'author': 'dF.', 'author_id': 3002, 'author_profile': 'https://Stackoverflow.com/users/3002', 'pm_score': 5, 'selected': True, 'text': '<p><a href="http://peak.telecommunity.com/DevCenter/setuptools" rel="noreferrer">Setuptools</a> is the software that creates <a href="http://peak.telecommunity.com/DevCenter/PythonEggs" rel="noreferrer">.egg files</a>. It\'s an extension of the <a href="http://docs.python.org/lib/module-distutils.html" rel="noreferrer"><code>distutils</code></a> package in the standard library.</p>\n\n<p>The process involves creating a <code>setup.py</code> file, then  <code>python setup.py bdist_egg</code> creates an .egg package.</p>\n'}, {'answer_id': 49175, 'author': 'kender', 'author_id': 4172, 'author_profile': 'https://Stackoverflow.com/users/4172', 'pm_score': 2, 'selected': False, 'text': '<p>Also, if you need to get an .egg package off a single .py file app, check this link: <a href="http://peak.telecommunity.com/DevCenter/EasyInstall#packaging-others-projects-as-eggs" rel="nofollow noreferrer">EasyInstall - Packaging others projects as eggs</a>.</p>\n'}, {'answer_id': 61389995, 'author': 'Manthan Trivedi', 'author_id': 12557421, 'author_profile': 'https://Stackoverflow.com/users/12557421', 'pm_score': 0, 'selected': False, 'text': '<p>Python has its own package for creating distributions that is called distutils. However instead of using Python’s distutils’ setup function, we’re using setuptools’ setup. We’re also using setuptools’ find_packages function which will automatically look for any packages in the current directory and add them to the egg. To create said egg, you’ll need to run the following from the command line:</p>\n\n<pre><code>c:\\Python34\\python.exe setup.py bdist_egg\n</code></pre>\n'}]
['https://Stackoverflow.com/questions/49164', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/4491/']