Created
December 13, 2012 08:34
-
-
Save saimn/4275015 to your computer and use it in GitHub Desktop.
setup.py for pyexiv2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from setuptools import setup, find_packages, Extension | |
version = "0.3.3" | |
setup( | |
name="pyexiv2", | |
version=version, | |
url='http://tilloy.net/dev/pyexiv2/', | |
author='Olivier Tilloy', | |
author_email='[email protected]', | |
description='A python binding to exiv2, the C++ library for manipulation ' | |
'of EXIF, IPTC and XMP image metadata.', | |
long_description=open('README').read(), | |
license='GNU GPL v2', | |
download_url=('https://launchpad.net/pyexiv2/0.3.x/{version}/+download/' | |
'pyexiv2-{version}.tar.bz2').format(version=version), | |
packages=find_packages('src'), | |
package_dir={'': 'src'}, | |
zip_safe=False, | |
include_package_data=True, | |
platforms='any', | |
ext_modules=[ | |
Extension('libexiv2python', | |
['src/exiv2wrapper.cpp', 'src/exiv2wrapper_python.cpp'], | |
libraries=['boost_python', 'exiv2']), | |
], | |
classifiers=[ | |
'Development Status :: 5 - Production/Stable', | |
'Intended Audience :: Developers', | |
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)', | |
'Operating System :: OS Independent', | |
'Programming Language :: C++', | |
'Programming Language :: Python', | |
'Topic :: Multimedia :: Graphics', | |
'Topic :: Software Development :: Libraries :: Python Modules' | |
] | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment