17 |
# get all the python files in the release tar file |
# get all the python files in the release tar file |
18 |
release_py = [ env.File("SConscript"), ] + [ env.File(x) for x in python_src ] |
release_py = [ env.File("SConscript"), ] + [ env.File(x) for x in python_src ] |
19 |
env.Zip(src_zipfile, release_py) |
env.Zip(src_zipfile, release_py) |
20 |
env.Tar(src_tarfile, release_py) |
try: |
21 |
|
env.Tar(src_tarfile, release_py) |
22 |
|
except AttributeError: |
23 |
|
pass |
24 |
# Call the unit tests SConscript |
# Call the unit tests SConscript |
25 |
local_env.SConscript(dirs = ['#/pycad/test/python'], build_dir='#/build/$PLATFORM/pycad/test/python', duplicate=0) |
local_env.SConscript(dirs = ['#/pycad/test/python'], build_dir='#/build/$PLATFORM/pycad/test/python', duplicate=0) |
26 |
|
|