Please sign in to comment.
Convert 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 email@example.com BUG=None Rfirstname.lastname@example.org Review URL: https://codereview.chromium.org/22816026 git-svn-id: http://gyp.googlecode.com/svn/trunk@1713 78cadc50-ecff-11dd-a971-7dbc132099af
- Loading branch information...
Showing with 10 additions and 30 deletions.
|@@ -1,19 +0,0 @@|