Repository: python-pillow/Pillow

Issue:
Pyroma reports "I couldnt' find any package data"
I'm not sure when this started, or why it's happening but `pyroma` seems to be reporting it can't find any packages to evaluate e.g.

```

aclark@Alexs-MacBook-Air:~/Developer/Pillow/ > pyroma .
------------------------------
Checking .
Found nothing
------------------------------
I couldn't find any package data
------------------------------
Final rating: 0/10
This cheese seems to contain no dairy products
------------------------------
```

Normally it outputs:

```

# > pyroma .
# ------------------------------
# Checking .
# Found Pillow
# ------------------------------
# Final rating: 10/10
# Your cheese is so fresh most people think it's a cream: Mascarpone
# ------------------------------
```



Discussion:

Resolving patch:
diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -705,39 +705,41 @@ def add_multiarch_paths(self):
         finally:
             os.unlink(tmpfile)
 
-if __name__ == '__main__':
-    setup(
-        name=NAME,
-        version=VERSION,
-        description='Python Imaging Library (Fork)',
-        long_description=(
-            _read('README.rst') + b'\n' +
-            _read('CHANGES.rst')).decode('utf-8'),
-        author='Alex Clark (fork author)',
-        author_email='aclark@aclark.net',
-        url='http://python-pillow.github.io/',
-        classifiers=[
-            "Development Status :: 6 - Mature",
-            "Topic :: Multimedia :: Graphics",
-            "Topic :: Multimedia :: Graphics :: Capture :: Digital Camera",
-            "Topic :: Multimedia :: Graphics :: Capture :: Scanners",
-            "Topic :: Multimedia :: Graphics :: Capture :: Screen Capture",
-            "Topic :: Multimedia :: Graphics :: Graphics Conversion",
-            "Topic :: Multimedia :: Graphics :: Viewers",
-            "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", ],
-        cmdclass={"build_ext": pil_build_ext},
-        ext_modules=[Extension("PIL._imaging", ["_imaging.c"])],
-        include_package_data=True,
-        packages=find_packages(),
-        scripts=glob.glob("Scripts/pil*.py"),
-        test_suite='PIL.tests',
-        keywords=["Imaging", ],
-        license='Standard PIL License',
-        zip_safe=True,
-    )
+
+setup(
+    name=NAME,
+    version=VERSION,
+    description='Python Imaging Library (Fork)',
+    long_description=(
+        _read('README.rst') + b'\n' +
+        _read('CHANGES.rst')).decode('utf-8'),
+    author='Alex Clark (fork author)',
+    author_email='aclark@aclark.net',
+    url='http://python-pillow.github.io/',
+    classifiers=[
+        "Development Status :: 6 - Mature",
+        "Topic :: Multimedia :: Graphics",
+        "Topic :: Multimedia :: Graphics :: Capture :: Digital Camera",
+        "Topic :: Multimedia :: Graphics :: Capture :: Scanners",
+        "Topic :: Multimedia :: Graphics :: Capture :: Screen Capture",
+        "Topic :: Multimedia :: Graphics :: Graphics Conversion",
+        "Topic :: Multimedia :: Graphics :: Viewers",
+        "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",
+        "Programming Language :: Python :: 3.4",
+        ],
+    cmdclass={"build_ext": pil_build_ext},
+    ext_modules=[Extension("PIL._imaging", ["_imaging.c"])],
+    include_package_data=True,
+    packages=find_packages(),
+    scripts=glob.glob("Scripts/pil*.py"),
+    test_suite='PIL.tests',
+    keywords=["Imaging", ],
+    license='Standard PIL License',
+    zip_safe=True,
+)
 # End of file


Test patch: