#!/usr/bin/env python
import sys
from distutils.core import setup, Extension

def is_64bit():
    return sys.maxsize > 2**32

setup(
    name='x64dbg_python',
    version='1.0',
    description='Python x64dbg SDK Library',
    author='<NAME> (RealGame)',
    author_email='<EMAIL>',
    packages=['x64dbg_python'],
    ext_modules=[Extension(
            r'x64dbg_python.__x64dbg', [r'x64dbg_python\__x64dbg.cpp'],
            language='c++',
            include_dirs=[r'..\pluginsdk'],
            library_dirs=[r'..\pluginsdk'],
            libraries=['x64_bridge', 'x64_dbg'] if is_64bit() else ['x32_bridge', 'x32_dbg'],
    )]
)

#!/usr/bin/env python
import sys
from distutils.core import setup, Extension

def is_64bit():
    return sys.maxsize > 2**32

setup(
    name='x64dbg_python',
    version='1.0',
    description='Python x64dbg SDK Library',
    author='<NAME> (RealGame)',
    author_email='<EMAIL>',
    packages=['x64dbg_python'],
    ext_modules=[Extension(
            r'x64dbg_python.__x64dbg', [r'x64dbg_python\__x64dbg.cpp'],
            language='c++',
            include_dirs=[r'..\pluginsdk'],
            library_dirs=[r'..\pluginsdk'],
            libraries=['x64_bridge', 'x64_dbg'] if is_64bit() else ['x32_bridge', 'x32_dbg'],
    )]
)

#!/usr/bin/env python