-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
22 lines (18 loc) · 809 Bytes
/
setup.py
File metadata and controls
22 lines (18 loc) · 809 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
from distutils.core import setup, Extension
def main():
setup(name="witsml21bson",
version="0.1.3",
description="WITSML 2.1 BSON parser module for Python 3 using C library setup",
author="Fábio Pereira da Silva",
author_email="fabioegel@gmail.com",
url="https://github.com/devfabiosilva/witsml21parser",
maintainer_email="fabioegel@gmail.com",
ext_modules=[Extension("witsml21bson", ["src/python/module.c", "stdsoap2.c" ,"soapServer.c"],
library_dirs=['lib'],
libraries=['cws_py', 'bson-shared-2.2.1'],
extra_objects=["soapC_shared.o"],
include_dirs=['include'],
define_macros=[('CWS_LITTLE_ENDIAN', None), ('WITH_STATISTICS', None)]
)])
if __name__ == "__main__":
main()