| Index: setup.py
|
| diff --git a/setup.py b/setup.py
|
| index ed2b41a3c300a36d876bddb2e53e1d2a1e18e9dc..ce2614ff88b04d368b14c90021ba90c3272e0d24 100755
|
| --- a/setup.py
|
| +++ b/setup.py
|
| @@ -4,10 +4,9 @@
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
|
|
| -from distutils.core import setup
|
| -from distutils.command.install import install
|
| -from distutils.command.install_lib import install_lib
|
| -from distutils.command.install_scripts import install_scripts
|
| +from ez_setup import use_setuptools
|
| +use_setuptools()
|
| +from setuptools import setup
|
|
|
| setup(
|
| name='gyp',
|
| @@ -18,9 +17,5 @@ setup(
|
| url='http://code.google.com/p/gyp',
|
| package_dir = {'': 'pylib'},
|
| packages=['gyp', 'gyp.generator'],
|
| -
|
| - scripts = ['gyp'],
|
| - cmdclass = {'install': install,
|
| - 'install_lib': install_lib,
|
| - 'install_scripts': install_scripts},
|
| + entry_points = {'console_scripts': ['gyp=gyp:script_main'] }
|
| )
|
|
|