forked from ciotto/pyheif-pillow-opener
-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
executable file
·54 lines (48 loc) · 1.65 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#!/usr/bin/env python
import os.path
from setuptools import setup
__version__ = '0.7.0'
github_url = 'https://github.com/uploadcare'
package_name = 'heif-image-plugin'
package_path = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(package_path, 'README.md')) as f:
long_description = f.read()
setup(
name=package_name,
py_modules=['HeifImagePlugin'],
version=__version__,
description='Simple HEIF/HEIC images plugin for Pillow base on pyhief library.',
long_description=long_description,
long_description_content_type='text/markdown',
author='Alexander Karpinsky',
author_email='[email protected]',
url='%s/%s' % (github_url, package_name),
download_url='%s/%s/archive/v%s.tar.gz' % (github_url, package_name, __version__),
keywords=['heif', 'heic', 'Pillow', 'plugin', 'pyhief'],
install_requires=[
"pyheif>=0.8.0",
"piexif>=1.1.3",
],
extras_require={
'test': [
'pillow>=9.0.0',
'pytest>=8.3.2',
'pytest-cov>=5.0.0',
]
},
classifiers=[
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX :: Linux",
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Multimedia :: Graphics',
],
license='MIT',
test_suite='tests',
)