@@ -26,7 +26,6 @@ def get_version():
26
26
return locals ()["__version__" ]
27
27
28
28
29
- NAME = "Pillow"
30
29
PILLOW_VERSION = get_version ()
31
30
FREETYPE_ROOT = None
32
31
HARFBUZZ_ROOT = None
@@ -971,56 +970,14 @@ def debug_build():
971
970
Extension ("PIL._imagingmorph" , ["src/_imagingmorph.c" ]),
972
971
]
973
972
974
- with open ("README.md" ) as f :
975
- long_description = f .read ()
976
-
977
973
try :
978
974
setup (
979
- name = NAME ,
980
975
version = PILLOW_VERSION ,
981
- description = "Python Imaging Library (Fork)" ,
982
- long_description = long_description ,
983
- long_description_content_type = "text/markdown" ,
984
- license = "HPND" ,
985
- author = "Alex Clark (PIL Fork Author)" ,
986
-
987
- url = "https://python-pillow.org" ,
988
- project_urls = {
989
- "Documentation" : "https://pillow.readthedocs.io" ,
990
- "Source" : "https://github.com/python-pillow/Pillow" ,
991
- "Funding" : "https://tidelift.com/subscription/pkg/pypi-pillow?"
992
- "utm_source=pypi-pillow&utm_medium=pypi" ,
993
- "Release notes" : "https://pillow.readthedocs.io/en/stable/releasenotes/"
994
- "index.html" ,
995
- "Changelog" : "https://github.com/python-pillow/Pillow/blob/main/"
996
- "CHANGES.rst" ,
997
- "Twitter" : "https://twitter.com/PythonPillow" ,
998
- },
999
- classifiers = [
1000
- "Development Status :: 6 - Mature" ,
1001
- "License :: OSI Approved :: Historical Permission Notice and Disclaimer (HPND)" , # noqa: E501
1002
- "Programming Language :: Python :: 3" ,
1003
- "Programming Language :: Python :: 3.6" ,
1004
- "Programming Language :: Python :: 3.7" ,
1005
- "Programming Language :: Python :: 3.8" ,
1006
- "Programming Language :: Python :: 3.9" ,
1007
- "Programming Language :: Python :: 3.10" ,
1008
- "Programming Language :: Python :: 3 :: Only" ,
1009
- "Programming Language :: Python :: Implementation :: CPython" ,
1010
- "Programming Language :: Python :: Implementation :: PyPy" ,
1011
- "Topic :: Multimedia :: Graphics" ,
1012
- "Topic :: Multimedia :: Graphics :: Capture :: Digital Camera" ,
1013
- "Topic :: Multimedia :: Graphics :: Capture :: Screen Capture" ,
1014
- "Topic :: Multimedia :: Graphics :: Graphics Conversion" ,
1015
- "Topic :: Multimedia :: Graphics :: Viewers" ,
1016
- ],
1017
- python_requires = ">=3.6" ,
1018
976
cmdclass = {"build_ext" : pil_build_ext },
1019
977
ext_modules = ext_modules ,
1020
978
include_package_data = True ,
1021
979
packages = ["PIL" ],
1022
980
package_dir = {"" : "src" },
1023
- keywords = ["Imaging" ],
1024
981
zip_safe = not (debug_build () or PLATFORM_MINGW ),
1025
982
)
1026
983
except RequiredDependencyException as err :
0 commit comments