| OLD | NEW |
| 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 ) |
| OLD | NEW |