-
Notifications
You must be signed in to change notification settings - Fork 10
/
setup.py
26 lines (22 loc) · 822 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
#!/usr/bin/env python
"""
setup.py file for SWIG example
"""
from setuptools import setup, Extension
sasl_module = Extension('_saslwrapper',
sources=['sasl/saslwrapper.cpp', "sasl/saslwrapper_wrap.cxx"],
include_dirs=["sasl"],
libraries=["sasl2"],
language="c++",
)
dist = setup (name = 'sasl',
version = '0.1.3',
url = "http://github.com/toddlipcon/python-sasl/tree/master",
maintainer = "Todd Lipcon",
maintainer_email = "[email protected]",
license="Apache-2.0",
description = """Cyrus-SASL bindings for Python""",
ext_modules = [sasl_module],
py_modules = ["sasl.saslwrapper"],
include_package_data = True,
)