-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathsetup.py
More file actions
20 lines (18 loc) · 712 Bytes
/
Copy pathsetup.py
File metadata and controls
20 lines (18 loc) · 712 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/env python
from distutils.core import setup, Extension
import sys
wrapper = "adclient_wrapper_python{0}.cpp".format(sys.version_info[0])
setup(name="adclient",
version="1.0",
description = "Active Directory manipulation tool",
author = "Oleg Palij",
author_email = "o.palij@gmail.com",
py_modules=["adclient"],
ext_modules=[Extension("_adclient", [wrapper],
include_dirs=["/usr/local/include", "/usr/include"],
library_dirs=["/usr/local/lib", "/usr/lib"],
libraries=["ldap", "adclient"],
extra_compile_args=["-g", "-O0", "-Wall"]
)
]
)