-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
30 lines (27 loc) · 869 Bytes
/
setup.py
File metadata and controls
30 lines (27 loc) · 869 Bytes
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
import os
import sys
from setuptools import setup
if os.path.exists('README.rst'):
if sys.version_info > (3,):
description_long = open('README.rst', encoding="utf-8").read()
else:
description_long = open('README.rst').read()
else:
description_long = """
Python utilities for manipulating EXIF data directly via libexif
"""
setup(
name='libexif-cffi',
version="0.1",
description="exif manipulation utilities",
description_long=description_long,
author="Gerald Thibault",
url="http://github.com/dieselmachine/libexif-cffi.git",
author_email="dieselmachine@gmail.com",
license='MIT',
packages=['libexif'],
package_data={'libexif': ['libexif.cdef']},
setup_requires=['cffi >= 1.0', 'pycparser'],
install_requires=['cffi >= 1.0', 'pycparser'],
cffi_modules=["libexif/libexif_build.py:ffi"]
)