Rizin
unix-like reverse engineering framework and cli tools
setup.py File Reference

Go to the source code of this file.

Classes

class  setup.custom_sdist
 
class  setup.custom_build
 
class  setup.custom_bdist_egg
 
class  setup.custom_develop
 

Namespaces

 setup
 

Functions

def setup.clean_bins ()
 
def setup.copy_sources ()
 
def setup.build_libraries ()
 
def setup.dummy_src ()
 

Variables

 setup.SYSTEM = sys.platform
 
int setup.IS_64BITS = sys.maxsize > 2**32
 
 setup.ROOT_DIR = os.path.dirname(os.path.realpath(__file__))
 
 setup.LIBS_DIR = os.path.join(ROOT_DIR, 'capstone', 'lib')
 
 setup.HEADERS_DIR = os.path.join(ROOT_DIR, 'capstone', 'include')
 
 setup.SRC_DIR = os.path.join(ROOT_DIR, 'src')
 
 setup.BUILD_DIR = SRC_DIR if os.path.exists(SRC_DIR) else os.path.join(ROOT_DIR, '../..')
 
dictionary setup.VERSION_DATA = {}
 
 setup.lines = fp.readlines()
 
 setup.line = line.strip()
 
 setup.k = k.strip()
 
 setup.v = v.strip()
 
string setup.VERSION = '{PKG_MAJOR}.{PKG_MINOR}.{PKG_EXTRA}.{PKG_TAG}'.format(**VERSION_DATA)
 
string setup.VERSIONED_LIBRARY_FILE = "libcapstone.{PKG_MAJOR}.dylib".format(**VERSION_DATA)
 
string setup.LIBRARY_FILE = "libcapstone.dylib"
 
string setup.STATIC_LIBRARY_FILE = 'libcapstone.a'
 
dictionary setup.cmdclass = {}
 
int setup.idx = sys.argv.index('bdist_wheel') + 1
 
 setup.name = get_platform()
 
string setup.long_desc
 
 setup.provides
 
 setup.packages
 
 setup.version
 
 setup.author
 
 setup.author_email
 
 setup.description
 
 setup.long_description
 
 setup.long_description_content_type
 
 setup.url
 
 setup.python_requires
 
 setup.classifiers
 
 setup.requires
 
 setup.zip_safe
 
 setup.include_package_data
 
 setup.is_pure
 
 setup.package_data