Author: Armin Rigo <ar...@tunes.org>
Branch: 
Changeset: r1473:9c3051a0a194
Date: 2014-03-06 16:12 +0100
http://bitbucket.org/cffi/cffi/changeset/9c3051a0a194/

Log:    Reindent this code to the more standard 4 spaces.

diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -96,23 +96,23 @@
 
 
 if __name__ == '__main__':
-  from setuptools import setup, Extension
-  ext_modules = []
-  if '__pypy__' not in sys.modules:
-    ext_modules.append(Extension(
-        name='_cffi_backend',
-        include_dirs=include_dirs,
-        sources=sources,
-        libraries=libraries,
-        define_macros=define_macros,
-        library_dirs=library_dirs,
-        extra_compile_args=extra_compile_args,
-        extra_link_args=extra_link_args,
-    ))
-  setup(
-    name='cffi',
-    description='Foreign Function Interface for Python calling C code.',
-    long_description="""
+    from setuptools import setup, Extension
+    ext_modules = []
+    if '__pypy__' not in sys.modules:
+        ext_modules.append(Extension(
+            name='_cffi_backend',
+            include_dirs=include_dirs,
+            sources=sources,
+            libraries=libraries,
+            define_macros=define_macros,
+            library_dirs=library_dirs,
+            extra_compile_args=extra_compile_args,
+            extra_link_args=extra_link_args,
+        ))
+    setup(
+        name='cffi',
+        description='Foreign Function Interface for Python calling C code.',
+        long_description="""
 CFFI
 ====
 
@@ -123,29 +123,29 @@
 -------
 
 `Mailing list <https://groups.google.com/forum/#!forum/python-cffi>`_
-    """,
-    version='0.8.2',
-    packages=['cffi'],
-    zip_safe=False,
+""",
+        version='0.8.2',
+        packages=['cffi'],
+        zip_safe=False,
 
-    url='http://cffi.readthedocs.org',
-    author='Armin Rigo, Maciej Fijalkowski',
-    author_email='python-c...@googlegroups.com',
+        url='http://cffi.readthedocs.org',
+        author='Armin Rigo, Maciej Fijalkowski',
+        author_email='python-c...@googlegroups.com',
 
-    license='MIT',
+        license='MIT',
 
-    ext_modules=ext_modules,
+        ext_modules=ext_modules,
 
-    install_requires=[
-        'pycparser',
-    ],
-    classifiers=[
-        'Programming Language :: Python',
-        'Programming Language :: Python :: 2',
-        'Programming Language :: Python :: 2.6',
-        'Programming Language :: Python :: 2.7',
-        'Programming Language :: Python :: 3',
-        'Programming Language :: Python :: 3.2',
-        'Programming Language :: Python :: 3.3',
-    ],
-  )
+        install_requires=[
+            'pycparser',
+        ],
+        classifiers=[
+            'Programming Language :: Python',
+            'Programming Language :: Python :: 2',
+            'Programming Language :: Python :: 2.6',
+            'Programming Language :: Python :: 2.7',
+            'Programming Language :: Python :: 3',
+            'Programming Language :: Python :: 3.2',
+            'Programming Language :: Python :: 3.3',
+        ],
+    )
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to