DescriptionConvert setup.py to use setuptools
Due to r1667, setup.py was left broken installing 'gyp' as a script, which happened to be the *nix invocation script wrapper.
By converting setup.py to use setuptools, when the gyp script is installed, the appropriate file name will be generated to match the local conventions on both *nix and Windows platforms.
This change required adding a proxy function in gyp/__init__.py, called 'script_main', which takes 0 arguments as required by setuptools that directly ends up calling 'main' passing along sys.argv[1:]. Other areas in gyp/__init__.py and gyp_main.py were modified to use this new function as well.
The MANIFEST file was deleted since setuptools automatically includes the correct files in source distributions.
Contributed by ericvw@gmail.com
BUG=None
Patch Set 1 #Patch Set 2 : remove 'scripts' from setup.py #Patch Set 3 : remove ez_setup.py #
Messages
Total messages: 16 (0 generated)
|