diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2016-07-20 11:19:09 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-20 11:19:09 -0400 |
commit | 7303c3281c2a8ac3b4d9878a92ab55bbfb92faf3 (patch) | |
tree | 8727e0d9b118bccfd0844a97abeba4061649d82b | |
parent | add487b9f51571a85bc7597ac3835d29bc5c2504 (diff) | |
parent | 2e1ca9656b566b57c7736ef229e9d46c0aa7216c (diff) | |
download | external_python_setuptools-7303c3281c2a8ac3b4d9878a92ab55bbfb92faf3.tar.gz external_python_setuptools-7303c3281c2a8ac3b4d9878a92ab55bbfb92faf3.tar.bz2 external_python_setuptools-7303c3281c2a8ac3b4d9878a92ab55bbfb92faf3.zip |
Merge pull request #640 from stepshal/parameter
Remove whitespace around parameter '=' sign.
-rw-r--r-- | setuptools/launch.py | 6 | ||||
-rw-r--r-- | setuptools/lib2to3_ex.py | 2 | ||||
-rwxr-xr-x | setuptools/package_index.py | 6 | ||||
-rw-r--r-- | setuptools/tests/__init__.py | 12 |
4 files changed, 13 insertions, 13 deletions
diff --git a/setuptools/launch.py b/setuptools/launch.py index b05cbd2c..308283ea 100644 --- a/setuptools/launch.py +++ b/setuptools/launch.py @@ -18,9 +18,9 @@ def run(): __builtins__ script_name = sys.argv[1] namespace = dict( - __file__ = script_name, - __name__ = '__main__', - __doc__ = None, + __file__=script_name, + __name__='__main__', + __doc__=None, ) sys.argv[:] = sys.argv[1:] diff --git a/setuptools/lib2to3_ex.py b/setuptools/lib2to3_ex.py index ac5f8096..c58d8407 100644 --- a/setuptools/lib2to3_ex.py +++ b/setuptools/lib2to3_ex.py @@ -27,7 +27,7 @@ class DistutilsRefactoringTool(RefactoringTool): class Mixin2to3(_Mixin2to3): - def run_2to3(self, files, doctests = False): + def run_2to3(self, files, doctests=False): # See of the distribution option has been set, otherwise check the # setuptools default. if self.distribution.use_2to3 is not True: diff --git a/setuptools/package_index.py b/setuptools/package_index.py index 4590e93f..52c9c3a6 100755 --- a/setuptools/package_index.py +++ b/setuptools/package_index.py @@ -94,7 +94,7 @@ def distros_for_url(url, metadata=None): match = EGG_FRAGMENT.match(fragment) if match: for dist in interpret_distro_name( - url, match.group(1), metadata, precedence = CHECKOUT_DIST + url, match.group(1), metadata, precedence=CHECKOUT_DIST ): yield dist @@ -158,8 +158,8 @@ def interpret_distro_name( for p in range(1, len(parts) + 1): yield Distribution( location, metadata, '-'.join(parts[:p]), '-'.join(parts[p:]), - py_version=py_version, precedence = precedence, - platform = platform + py_version=py_version, precedence=precedence, + platform=platform ) diff --git a/setuptools/tests/__init__.py b/setuptools/tests/__init__.py index 91519682..c059b178 100644 --- a/setuptools/tests/__init__.py +++ b/setuptools/tests/__init__.py @@ -131,8 +131,8 @@ class TestDistro: self.dist = makeSetup( packages=['a', 'a.b', 'a.b.c', 'b', 'c'], py_modules=['b.d', 'x'], - ext_modules = (self.e1, self.e2), - package_dir = {}, + ext_modules=(self.e1, self.e2), + package_dir={}, ) def testDistroType(self): @@ -225,15 +225,15 @@ class TestFeatures: ), 'baz': Feature( "baz", optional=False, packages=['pkg.baz'], - scripts = ['scripts/baz_it'], + scripts=['scripts/baz_it'], libraries=[('libfoo', 'foo/foofoo.c')] ), 'dwim': Feature("DWIM", available=False, remove='bazish'), }, script_args=['--without-bar', 'install'], - packages = ['pkg.bar', 'pkg.foo'], - py_modules = ['bar_et', 'bazish'], - ext_modules = [Extension('bar.ext', ['bar.c'])] + packages=['pkg.bar', 'pkg.foo'], + py_modules=['bar_et', 'bazish'], + ext_modules=[Extension('bar.ext', ['bar.c'])] ) def testDefaults(self): |