mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-04 11:53:32 +03:00
Merge pull request #3752 from hugovk/update-classifiers
Update Trove licence classifiers
This commit is contained in:
commit
c8ee701013
|
@ -10,7 +10,6 @@ except ImportError:
|
||||||
|
|
||||||
@unittest.skipIf(pyroma is None, "Pyroma is not installed")
|
@unittest.skipIf(pyroma is None, "Pyroma is not installed")
|
||||||
class TestPyroma(PillowTestCase):
|
class TestPyroma(PillowTestCase):
|
||||||
|
|
||||||
def test_pyroma(self):
|
def test_pyroma(self):
|
||||||
# Arrange
|
# Arrange
|
||||||
data = pyroma.projectdata.get_data(".")
|
data = pyroma.projectdata.get_data(".")
|
||||||
|
@ -19,12 +18,13 @@ class TestPyroma(PillowTestCase):
|
||||||
rating = pyroma.ratings.rate(data)
|
rating = pyroma.ratings.rate(data)
|
||||||
|
|
||||||
# Assert
|
# Assert
|
||||||
if 'rc' in __version__:
|
if "rc" in __version__:
|
||||||
# Pyroma needs to chill about RC versions
|
# Pyroma needs to chill about RC versions and not kill all our tests.
|
||||||
# and not kill all our tests.
|
self.assertEqual(
|
||||||
self.assertEqual(rating, (9, [
|
rating,
|
||||||
"The package's version number does not comply with PEP-386."]))
|
(9, ["The package's version number does not comply with PEP-386."]),
|
||||||
|
)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
# Should have a perfect score
|
# Should have a near-perfect score
|
||||||
self.assertEqual(rating, (10, []))
|
self.assertEqual(rating, (9, ["Your package does not have license data."]))
|
||||||
|
|
13
setup.py
13
setup.py
|
@ -765,12 +765,7 @@ try:
|
||||||
url='http://python-pillow.org',
|
url='http://python-pillow.org',
|
||||||
classifiers=[
|
classifiers=[
|
||||||
"Development Status :: 6 - Mature",
|
"Development Status :: 6 - Mature",
|
||||||
"Topic :: Multimedia :: Graphics",
|
"License :: OSI Approved :: Historical Permission Notice and Disclaimer (HPND)", # noqa: E501
|
||||||
"Topic :: Multimedia :: Graphics :: Capture :: Digital Camera",
|
|
||||||
"Topic :: Multimedia :: Graphics :: Capture :: Screen Capture",
|
|
||||||
"Topic :: Multimedia :: Graphics :: Graphics Conversion",
|
|
||||||
"Topic :: Multimedia :: Graphics :: Viewers",
|
|
||||||
"License :: Other/Proprietary License",
|
|
||||||
"Programming Language :: Python :: 2",
|
"Programming Language :: Python :: 2",
|
||||||
"Programming Language :: Python :: 2.7",
|
"Programming Language :: Python :: 2.7",
|
||||||
"Programming Language :: Python :: 3",
|
"Programming Language :: Python :: 3",
|
||||||
|
@ -779,6 +774,11 @@ try:
|
||||||
"Programming Language :: Python :: 3.7",
|
"Programming Language :: Python :: 3.7",
|
||||||
"Programming Language :: Python :: Implementation :: CPython",
|
"Programming Language :: Python :: Implementation :: CPython",
|
||||||
"Programming Language :: Python :: Implementation :: PyPy",
|
"Programming Language :: Python :: Implementation :: PyPy",
|
||||||
|
"Topic :: Multimedia :: Graphics",
|
||||||
|
"Topic :: Multimedia :: Graphics :: Capture :: Digital Camera",
|
||||||
|
"Topic :: Multimedia :: Graphics :: Capture :: Screen Capture",
|
||||||
|
"Topic :: Multimedia :: Graphics :: Graphics Conversion",
|
||||||
|
"Topic :: Multimedia :: Graphics :: Viewers",
|
||||||
],
|
],
|
||||||
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*",
|
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*",
|
||||||
cmdclass={"build_ext": pil_build_ext},
|
cmdclass={"build_ext": pil_build_ext},
|
||||||
|
@ -789,7 +789,6 @@ try:
|
||||||
packages=["PIL"],
|
packages=["PIL"],
|
||||||
package_dir={'': 'src'},
|
package_dir={'': 'src'},
|
||||||
keywords=["Imaging", ],
|
keywords=["Imaging", ],
|
||||||
license='Standard PIL License',
|
|
||||||
zip_safe=not (debug_build() or PLATFORM_MINGW), )
|
zip_safe=not (debug_build() or PLATFORM_MINGW), )
|
||||||
except RequiredDependencyException as err:
|
except RequiredDependencyException as err:
|
||||||
msg = """
|
msg = """
|
||||||
|
|
Loading…
Reference in New Issue
Block a user