mirror of
https://github.com/Z3Prover/z3
synced 2025-06-06 06:03:23 +00:00
python example
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
7f0fcefbe2
commit
483942c1a5
2 changed files with 8 additions and 0 deletions
|
@ -200,6 +200,13 @@ def set_z3py_dir(p):
|
|||
if VERBOSE:
|
||||
print "Python bindinds directory was detected."
|
||||
|
||||
def add_z3py_example(p):
|
||||
full = '%s/%s' % (EXAMPLE_DIR, p)
|
||||
for py in filter(lambda f: f.endswith('.py'), os.listdir(full)):
|
||||
shutil.copyfile('%s/%s' % (full, py), '%s/%s' % (BUILD_DIR, py))
|
||||
if is_verbose():
|
||||
print "Copied Z3Py example '%s' to '%s'" % (py, BUILD_DIR)
|
||||
|
||||
_UNIQ_ID = 0
|
||||
|
||||
def mk_fresh_name(prefix):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue