-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
42 lines (37 loc) · 1.13 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
try:
from setuptools import Extension, setup
except ImportError:
from distutils.core import Extension, setup
import os
import sys
import os.path
import platform
library_dirs = ['/usr/local/lib']
include_dirs = ['/usr/local/lib']
setup(name='webp',
version="0.0.1",
description="Yet Another Python Webp(libwebp) Wrapper",
long_description="This module is Alpha Release.",
author='Hideo Hattori',
author_email='hhatto.jp@gmail.com',
#url='http://',
license='New BSD License',
platforms='Linux',
packages=['webp'],
ext_modules=[
Extension('webp.encode',
sources=['webp/encode.c'],
include_dirs=include_dirs,
library_dirs=library_dirs,
libraries=['webp', 'png', 'jpeg'],
)],
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: POSIX :: Linux',
'Programming Language :: C',
'Programming Language :: Python',
'Topic :: Multimedia :: Graphics'],
keywords="webp jpeg png graphics image",
)