Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def show_version():
"""Show the program version."""
print('Version %s on Python%s' % (__version__, sys.version_info[0]))
sys.exit(0)
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
import exifread
readme_file = open("README.rst", "rt").read()
setup(
name="ExifRead",
version=exifread.__version__,
author="Ianaré Sévi",
author_email="ianare@gmail.com",
packages=find_packages(),
scripts=["EXIF.py"],
url="https://github.com/ianare/exif-py",
license="BSD",
keywords="exif image metadata photo",
description=" ".join(exifread.__doc__.splitlines()).strip(),
long_description=readme_file,
classifiers=(
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",