-
Notifications
You must be signed in to change notification settings - Fork 41
/
setup.py
31 lines (28 loc) · 1006 Bytes
/
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
from setuptools import setup, find_packages
with open("README.md", "r") as fh:
long_description = fh.read()
with open("pyheif/data/version.txt") as f:
version = f.read().strip()
setup(
name="pyheif",
version=version,
packages=["pyheif"],
package_data={"pyheif": ["data/*"]},
install_requires=["cffi>=1.0.0"],
setup_requires=["cffi>=1.0.0"],
cffi_modules=["libheif/libheif_build.py:ffibuilder"],
author="Anthony Paes",
description="Python 3.6+ interface to libheif library",
long_description=long_description,
long_description_content_type="text/markdown",
python_requires=">= 3.6",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX :: Linux",
],
keywords="heif heic",
url="https://github.com/carsales/pyheif",
)