forked from nikulukani/pyorient_native
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
40 lines (39 loc) · 1.25 KB
/
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 find_packages, setup, Extension
h_files = [
"pyorient_native/orientc_reader.h",
"pyorient_native/orientc_writer.h",
"pyorient_native/orientc.h",
"pyorient_native/helpers.h",
"pyorient_native/parse_exception.h",
"pyorient_native/listener.h",
"pyorient_native/encoder.h",
"pyorient_native/pendian.h"
]
pyorient_native = Extension(
"pyorient_native",
sources=[
"pyorient_native/orientc_reader.cpp",
"pyorient_native/orientc_writer.cpp",
"pyorient_native/helpers.cpp",
"pyorient_native/parse_exception.cpp",
"pyorient_native/listener.cpp",
"pyorient_native/encoder.cpp",
"pyorient_native/pyorient_native.cpp"],
depends=h_files,
library_dirs=[],
include_dirs=["./pyorient_native"],
language="c++",
libraries=["stdc++"]
)
setup(
name="pyorient_native",
version="1.2.3",
description="OrientDB Binary Serialization package for python",
author="Nikul Ukani",
author_email="nhu2001@columbia.edu",
ext_modules=[pyorient_native],
packages=find_packages(),
url="https://github.com/nikulukani/pyorient_native",
download_url="https://github.com/nikulukani/pyorient_native/"
"archive/1.2.3.tar.gz"
)