What code in Python creates .exe launchers for 'entry_points' in 'setup.py'?
Hello. On Windows, 'setuptools' and 'distribute' package systems allows to add 'entry_points' definition into 'setup.py' python distribution script. For each entry in this definition, some kind of bootstrapper '.exe' file will be created and placed into 'Scripts' python dir. For example, if i install 'pip' via 'setup.py', a file named 'pip.exe' will be created and placed into 'C:\Python27\Scripts'. But what python code is responsible for creation of this bootstrapper executables? I have searched python 2.7.3 source code for some time, but can't find a place. Of course i can spend lots of time to debug 'setup.py' installation (really lots of source code), but maybe someone just knows the place and can pinpoint it?
Hello, Le 01/04/2013 16:51, Grigory Petrov a écrit :
But what python code is responsible for creation of this bootstrapper executables? I have searched python 2.7.3 source code for some time, but can't find a place.
Setuptools is not in the standard library, so you would need to search the setuptools or distribute codebases. Regards
The new "distlib" also provides that feature
On Apr 1, 2013 4:58 PM, "Éric Araujo"
Hello,
Le 01/04/2013 16:51, Grigory Petrov a écrit :
But what python code is responsible for creation of this bootstrapper executables? I have searched python 2.7.3 source code for some time, but can't find a place.
Setuptools is not in the standard library, so you would need to search the setuptools or distribute codebases.
Regards _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/dholth%40gmail.com
participants (3)
-
Daniel Holth
-
Grigory Petrov
-
Éric Araujo