fabfile.py
branchdevel
changeset 108 cadc01b2bdc0
parent 103 0b333b0cd986
child 237 eb3501d2cdc9
equal deleted inserted replaced
107:f11520354165 108:cadc01b2bdc0
    24 def deploy():
    24 def deploy():
    25     prepare_deploy()
    25     prepare_deploy()
    26     put("dist/iro-%s.tar.gz"%__version__,"%s/dist/"%env.directory)
    26     put("dist/iro-%s.tar.gz"%__version__,"%s/dist/"%env.directory)
    27     put("%(directory)s/dist/ngmodules-%(version)s-py2.7.egg"%ngmodules,"%s/dist/"%env.directory)
    27     put("%(directory)s/dist/ngmodules-%(version)s-py2.7.egg"%ngmodules,"%s/dist/"%env.directory)
    28     virtualenv("easy_install %s/dist/ngmodules-%s-py2.7.egg"%(env.directory,ngmodules["version"]))
    28     virtualenv("easy_install %s/dist/ngmodules-%s-py2.7.egg"%(env.directory,ngmodules["version"]))
       
    29     virtualenv("pip uninstall iro")
    29     virtualenv("pip install %s/dist/iro-%s.tar.gz"%(env.directory,__version__))
    30     virtualenv("pip install %s/dist/iro-%s.tar.gz"%(env.directory,__version__))
    30 
    31 
    31 
    32 
    32 def prepare_tests():
    33 def prepare_tests():
    33     put("tests/*","%s/tests/"%env.directory)
    34     put("tests/*","%s/tests/"%env.directory)