~maddevelopers/mg5amcnlo/2.9.4

« back to all changes in this revision

Viewing changes to bin/create_aloha_release.py

pass to v2.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
#
5
5
# Copyright (c) 2011 The ALOHA Development team and Contributors
6
6
#
7
 
# This file is a part of the MadGraph 5 project, an application which 
 
7
# This file is a part of the MadGraph5_aMC@NLO project, an application which 
8
8
# automatically generates Feynman diagrams and matrix elements for arbitrary
9
9
# high-energy processes in the Standard Model and beyond.
10
10
#
11
 
# It is subject to the MadGraph license which should accompany this 
 
11
# It is subject to the MadGraph5_aMC@NLO license which should accompany this 
12
12
# distribution.
13
13
#
14
 
# For more information, please visit: http://madgraph.phys.ucl.ac.be
 
14
# For more information, visit madgraph.phys.ucl.ac.be and amcatnlo.web.cern.ch
15
15
#
16
16
################################################################################
17
17
 
22
22
1. bzr branch the present directory to a new directory
23
23
   ALOHA_vVERSION
24
24
 
25
 
3. Copy all Madgraph5 files needed by ALOHA to the present directory
 
25
3. Copy all MadGraph5_aMC@NLO files needed by ALOHA to the present directory
26
26
 
27
27
4. Create the automatic documentation in the apidoc directory
28
28
 
34
34
import sys
35
35
 
36
36
if not sys.version_info[0] == 2 or sys.version_info[1] < 6:
37
 
    sys.exit('MadGraph 5 works only with python 2.6 or later (but not python 3.X).\n\
 
37
    sys.exit('MadGraph5_aMC@NLO works only with python 2.6 or later (but not python 3.X).\n\
38
38
               Please upgrate your version of python.')
39
39
 
40
40
import glob
123
123
        continue
124
124
    os.system('rm -rf %s ' % os.path.join(filepath,fname))
125
125
 
 
126
os.mkdir(filepath+'/vendor')
 
127
shutil.copytree(os.path.join(MG5DIR,'vendor','ply'),filepath+'/vendor/ply')
 
128
files_routines.cp(MG5DIR +'/vendor/__init__.py', filepath+'/vendor/__init__.py')
 
129
 
126
130
 
127
131
# 4. Create the automatic documentation in the apidoc directory
128
132