-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
36 lines (32 loc) · 791 Bytes
/
setup.py
File metadata and controls
36 lines (32 loc) · 791 Bytes
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
from distutils.core import setup, Extension
with open("README.md") as f:
module_discription = f.read()
module = Extension(
"PyC",
sources=[
"src/CppTypeInfo.c",
"src/CppWrapper_PyTypes.c",
"src/PyC.c",
"src/TypeConversions.c",
"src/Py_C_Types.c",
],
include_dirs=[
"src/",
"/usr/include/x86_64-linux-gnu",
"/usr/lib/llvm-14/include",
],
libraries=[
"ffi",
"clang-14",
],
)
setup(
name="PyC",
version="0.0.1",
description="General Purpose Binding between Python & C/C++",
ext_modules=[module],
author="Vipul Cariappa",
author_email="vipulcariappa@gmail.com",
url="https://github.com/Vipul-Cariappa/PyC",
long_description=module_discription,
)