wifiphisher / roguehostapd

Hostapd fork including Wi-Fi attacks and providing Python bindings with ctypes.
BSD 3-Clause "New" or "Revised" License
175 stars 67 forks source link

Make use of Extensions for build #10

Closed blackHatMonkey closed 6 years ago

blackHatMonkey commented 6 years ago

@sophron @anakin1028 Do you guys think we can use Extensions from distutils.core to simplify the build?

from distutils.core import setup, Extension

module1 = Extension('demo',
                    sources = ['demo.c'])

setup (name = 'PackageName',
       version = '1.0',
       description = 'This is a demo package',
       ext_modules = [module1])