From 749c1d3e310a3df5d6f2ce10135129aa3f6142b7 Mon Sep 17 00:00:00 2001 From: jakob Date: Tue, 29 Aug 2017 16:02:44 -0400 Subject: setup.py and the makefile both install the wrapper library properly now --- setup.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 118ca85..58ca457 100644 --- a/setup.py +++ b/setup.py @@ -1,11 +1,14 @@ #!/usr/bin/env python try: - from setuptools import setup + from setuptools import setup, Extension except ImportError: - from distutils.core import setup + from distutils.core import setup, Extension +from glob import glob + from hypodermic import __version__ +lib = Extension("libhypodermicw", sources = ["wrapper/ptrace.c"]) def long_description(): with open("README.md") as description: @@ -26,6 +29,7 @@ setup( download_url="https://github.com/TsarFox/hypodermic", packages=["hypodermic"], include_package_data=True, + ext_modules=[lib], install_requires=[], extras_require={}, tests_require=[], -- cgit v1.3