Changeset 2166


Ignore:
Timestamp:
05/12/11 13:38:20 (14 years ago)
Author:
Malte Marquarding
Message:

Added egg and debian packaging framework

Location:
trunk
Files:
13 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SConstruct

    r1941 r2166  
    2929        moduledir = moduledir.replace("lib", "lib64")
    3030
    31 EnsureSConsVersion(1,1,0)
     31EnsureSConsVersion(1,0,0)
    3232
    3333opts = Variables("options.cfg")
     
    188188    env = conf.Finish()
    189189
    190 env["version"] = "3.0.0"
     190env["version"] = "3.1.0"
    191191
    192192if env['mode'] == 'release':
     
    248248    st0 = env.QInstall("$stagedir/asap", [so,  env.SGlob("python/*.py")] )
    249249    env.QInstall("$stagedir/bin", ["bin/asap", "bin/asap_update_data"])
    250     env.QInstall("$stagedir", ["bin/install"])
     250    env.QInstall("$stagedir", ["packaging/setup.py"])
    251251    env.QInstall("$stagedir/asap/data", "share/ipythonrc-asap")
    252252    env.QInstall("$stagedir/asap/data", "share/ipy_user_conf.py")
     
    264264                        env["stagedir"])
    265265    env.AddPostAction(arch, Delete("$stagedir"))
     266
     267if env["apps"]:
     268    env.SConscript("apps/SConscript")
     269
     270if env.GetOption("clean"):
     271    Execute(Delete(".sconf_temp"))
     272
    266273if env["makedoc"].lower() != "none":
    267274    env.SConscript("doc/SConscript")
    268 
    269 if env["apps"]:
    270     env.SConscript("apps/SConscript")
    271 
    272 if env.GetOption("clean"):
    273     Execute(Delete(".sconf_temp"))
Note: See TracChangeset for help on using the changeset viewer.