-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathsetup.py
40 lines (38 loc) · 993 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
28
29
30
31
32
33
34
35
36
37
38
39
40
from setuptools import Extension
from setuptools import setup
libraries = [
"toxcore",
]
cflags = [
"-funsigned-char",
]
setup(
name="py-toxcore-c",
version="0.2.20",
description="Python binding for Tox the skype replacement",
author="Iphigenia Df",
author_email="iphydf@gmail.com",
url="http://github.com/TokTok/py-toxcore-c",
license="GPL",
py_modules=["pytox.common"],
ext_modules=[
Extension(
"pytox.toxav.toxav",
["pytox/toxav/toxav.c"],
extra_compile_args=cflags,
libraries=libraries,
),
Extension(
"pytox.toxcore.tox",
["pytox/toxcore/tox.c"],
extra_compile_args=cflags,
libraries=libraries,
),
Extension(
"pytox.toxencryptsave.toxencryptsave",
["pytox/toxencryptsave/toxencryptsave.c"],
extra_compile_args=cflags,
libraries=libraries,
),
],
)