-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
28 lines (25 loc) · 959 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
from distutils.core import setup, Extension
include_dirs = []
library_dirs = []
libraries = []
runtime_library_dirs = []
extra_objects = []
define_macros = []
setup(name = "pyopencc",
version = "0.4.2",
author = "Guangming Li",
author_email = "leeful@gmail.com",
license = "Apache License",
url = "http://code.google.com/p/opencc/",
packages = ["pyopencc"],
ext_package = "pyopencc",
ext_modules = [Extension( name = "opencc",
sources = ["src/opencc.c"],
include_dirs = include_dirs,
library_dirs = library_dirs,
runtime_library_dirs = runtime_library_dirs,
libraries = libraries,
extra_objects = extra_objects,
define_macros = define_macros
)],
)