forked from diffkemp/diffkemp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
19 lines (17 loc) · 712 Bytes
/
setup.py
File metadata and controls
19 lines (17 loc) · 712 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
from setuptools import setup, find_packages
from diffkemp.utils import get_simpll_build_dir
import os
import subprocess
setup(name="diffkemp",
version="0.5.0",
description="A tool for semantic difference analysis of kernel functions",
author="Viktor Malik",
author_email="vmalik@redhat.com",
url="https://github.com/viktormalik/diffkemp",
packages=find_packages(),
setup_requires=["cffi"],
install_requires=["pyyaml", "cffi"],
cffi_modules=["./diffkemp/simpll/simpll_build.py:ffibuilder"])
if os.path.isfile("diffkemp/simpll/_simpll.abi3.so"):
build_dir = get_simpll_build_dir()
subprocess.run(["cp", "diffkemp/simpll/_simpll.abi3.so", build_dir])