You are reading the wrong documentation. You want this: https://setuptools.readthedocs.io/en/latest/setuptools.html#develop-deploy-the-project-source-in-development-mode
-
Creating setup.py is covered in the distutils documentation in Python’s standard library documentation here. The main difference (for python eggs) is you
import setupfromsetuptools, notdistutils. -
Yep. That should be right.
-
I don’t think so.
pycfiles can be version and platform dependent. You might be able to open the egg (they should just be zip files) and delete.pyfiles leaving.pycfiles, but it wouldn’t be recommended. -
I’m not sure. That might be “Development Mode”. Or are you looking for some “py2exe” or “py2app” mode?