Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(188)

Side by Side Diff: setup.py

Issue 22816026: Convert setup.py to use setuptools (Closed) Base URL: https://chromium.googlesource.com/external/gyp.git@master
Patch Set: remove ez_setup.py Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « pylib/gyp/__init__.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 2
3 # Copyright (c) 2009 Google Inc. All rights reserved. 3 # Copyright (c) 2009 Google Inc. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 from distutils.core import setup 7 from ez_setup import use_setuptools
8 from distutils.command.install import install 8 use_setuptools()
9 from distutils.command.install_lib import install_lib 9 from setuptools import setup
10 from distutils.command.install_scripts import install_scripts
11 10
12 setup( 11 setup(
13 name='gyp', 12 name='gyp',
14 version='0.1', 13 version='0.1',
15 description='Generate Your Projects', 14 description='Generate Your Projects',
16 author='Chromium Authors', 15 author='Chromium Authors',
17 author_email='chromium-dev@googlegroups.com', 16 author_email='chromium-dev@googlegroups.com',
18 url='http://code.google.com/p/gyp', 17 url='http://code.google.com/p/gyp',
19 package_dir = {'': 'pylib'}, 18 package_dir = {'': 'pylib'},
20 packages=['gyp', 'gyp.generator'], 19 packages=['gyp', 'gyp.generator'],
21 20 entry_points = {'console_scripts': ['gyp=gyp:script_main'] }
22 scripts = ['gyp'],
23 cmdclass = {'install': install,
24 'install_lib': install_lib,
25 'install_scripts': install_scripts},
26 ) 21 )
OLDNEW
« no previous file with comments | « pylib/gyp/__init__.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698