Rizin
unix-like reverse engineering framework and cli tools
setup_cython.custom_build Class Reference
Inheritance diagram for setup_cython.custom_build:

Public Member Functions

def run (self)
 

Static Public Attributes

list provides = ['capstone'],
 
dictionary package_dir = {'capstone' : 'pyx'},
 
list packages = ['capstone'],
 
string name = 'capstone',
 
 version = VERSION,
 
dictionary cmdclass = {'build_ext': build_ext, 'build': custom_build},
 
 ext_modules = ext_modules,
 
string author = 'Nguyen Anh Quynh',
 
string author_email = 'aquynh@gmail.com',
 
string description = 'Capstone disassembly engine',
 
string url = 'http://www.capstone-engine.org',
 
list classifiers
 
bool include_package_data = True,
 
dictionary package_data
 

Detailed Description

Definition at line 105 of file setup_cython.py.

Member Function Documentation

◆ run()

def setup_cython.custom_build.run (   self)

Definition at line 106 of file setup_cython.py.

106  def run(self):
107  log.info('Copying python sources')
109  log.info('Building C extensions')
111  return build.run(self)
112 
113 # clean package directory first
114 #import os.path, shutil, sys
115 #for f in sys.path:
116 # if f.endswith('packages'):
117 # pkgdir = os.path.join(f, 'capstone')
118 # #print(pkgdir)
119 # try:
120 # shutil.rmtree(pkgdir)
121 # except:
122 # pass
123 
124 setup(
def copy_pysources()
Definition: setup_cython.py:60
def build_libraries()
Definition: setup_cython.py:70
Definition: setup.py:1
static int run(int i, const char *arg)
Definition: rz-bb.c:19

References setup_cython.build_libraries(), and setup_cython.copy_pysources().

Member Data Documentation

◆ author

string setup_cython.custom_build.author = 'Nguyen Anh Quynh',
static

Definition at line 132 of file setup_cython.py.

◆ author_email

string setup_cython.custom_build.author_email = 'aquynh@gmail.com',
static

Definition at line 133 of file setup_cython.py.

◆ classifiers

list setup_cython.custom_build.classifiers
static
Initial value:
= [
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2',
],

Definition at line 136 of file setup_cython.py.

◆ cmdclass

dictionary setup_cython.custom_build.cmdclass = {'build_ext': build_ext, 'build': custom_build},
static

Definition at line 130 of file setup_cython.py.

◆ description

string setup_cython.custom_build.description = 'Capstone disassembly engine',
static

◆ ext_modules

setup_cython.custom_build.ext_modules = ext_modules,
static

Definition at line 131 of file setup_cython.py.

◆ include_package_data

bool setup_cython.custom_build.include_package_data = True,
static

Definition at line 140 of file setup_cython.py.

◆ name

◆ package_data

dictionary setup_cython.custom_build.package_data
static
Initial value:
= {
"capstone": ["lib/*", "include/capstone/*"],
}

Definition at line 141 of file setup_cython.py.

◆ package_dir

dictionary setup_cython.custom_build.package_dir = {'capstone' : 'pyx'},
static

Definition at line 126 of file setup_cython.py.

◆ packages

list setup_cython.custom_build.packages = ['capstone'],
static

Definition at line 127 of file setup_cython.py.

◆ provides

list setup_cython.custom_build.provides = ['capstone'],
static

Definition at line 125 of file setup_cython.py.

◆ url

string setup_cython.custom_build.url = 'http://www.capstone-engine.org',
static

Definition at line 135 of file setup_cython.py.

◆ version

setup_cython.custom_build.version = VERSION,
static

Definition at line 129 of file setup_cython.py.


The documentation for this class was generated from the following file: