diff --git a/deployment/linux/create_bundle.py b/deployment/linux/create_bundle.py index 3ee9a6c54a53cf4b5a2843f07232509adea357c5..abd45cb6e75415186fb99651a6467d2261976015 100644 --- a/deployment/linux/create_bundle.py +++ b/deployment/linux/create_bundle.py @@ -57,12 +57,12 @@ subprocess.call('sed "s/\#export QT_PLUGIN_PATH/ export QT_PLUGIN_PATH/g" script print 'Downloading Chemlib dictionary' subprocess.call('wget ftp://ftp.wwpdb.org/pub/pdb/data/monomers/components.cif', shell=True, cwd='../../') print 'Compiling Openstructure' -subprocess.call('cmake ./ -DCMAKE_BUILD_TYPE=Release -DPREFIX='+directory_name+' -DBoost_COMPILER='+boost_string, shell=True,cwd='../../') +subprocess.call('cmake ./ -DCMAKE_BUILD_TYPE=Release -DPREFIX='+directory_name+' -DBoost_COMPILER='+boost_string+'-DENABLE_IMG=OFF -DENABLE_UI=OFF -DENABLE_GFX=OFF', shell=True,cwd='../../') subprocess.call('make',shell=True,cwd='../../') print 'Converting Chemlib dictionary' subprocess.call('stage/bin/chemdict_tool create components.cif compounds.chemlib', shell=True, cwd='../../') -print 'Staging Chemlib dictionary' -subprocess.call('cmake ./ -DCOMPOUND_LIB=compounds.chemlib',shell=True,cwd='../../') +print '\nStaging Chemlib dictionary' +subprocess.call('cmake ./ -DCOMPOUND_LIB=compounds.chemlib -DENABLE_IMG=ON -DENABLE_UI=ON -DENABLE_GFX=ON',shell=True,cwd='../../') subprocess.call('make',shell=True,cwd='../../') print 'Removing obsolete packages and package directory' subprocess.call('rm -fr openstructure-linux*',shell=True,cwd='../../') diff --git a/deployment/linux/create_qmean_bundle.py b/deployment/linux/create_qmean_bundle.py index d62c348bdd0e846f1f9075be778d79fd39fe67f5..3fd8aa4e1c48b283c23d20f4281167c757c782fa 100644 --- a/deployment/linux/create_qmean_bundle.py +++ b/deployment/linux/create_qmean_bundle.py @@ -60,9 +60,16 @@ subprocess.call('sed "s/\#export LD_LIBRARY_PATH/ export LD_LIBRARY_PATH/g" scri subprocess.call('sed "s/\#export PYTHONHOME/ export PYTHONHOME/g" scripts/dng.in.preprepre > scripts/dng.in.prepre',shell=True,cwd='../../') subprocess.call('sed "s/\#export PYTHONPATH/ export PYTHONPATH/g" scripts/ost.in.prepre > scripts/ost.in.pre',shell=True,cwd='../../') subprocess.call('sed "s/\#export QT_PLUGIN_PATH/ export QT_PLUGIN_PATH/g" scripts/dng.in.pre > scripts/dng.in',shell=True,cwd='../../') +print 'Downloading Chemlib dictionary' +subprocess.call('wget ftp://ftp.wwpdb.org/pub/pdb/data/monomers/components.cif', shell=True, cwd='../../') print 'Compiling Openstructure/Qmean' subprocess.call('cmake ./ -DCMAKE_BUILD_TYPE=Release -DPREFIX='+directory_name+' -DBoost_COMPILER='+boost_string+' -DONLY_QMEAN=ON -DENABLE_IMG=OFF -DENABLE_UI=OFF -DENABLE_GFX=OFF -DCOMPOUND_LIB=ChemLib/compounds.chemlib', shell=True,cwd='../../') subprocess.call('make',shell=True,cwd='../../') +print 'Converting Chemlib dictionary' +subprocess.call('stage/bin/chemdict_tool create components.cif compounds.chemlib', shell=True, cwd='../../') +print '\nStaging Chemlib dictionary' +subprocess.call('cmake ./ -DCOMPOUND_LIB=compounds.chemlib',shell=True,cwd='../../') +subprocess.call('make',shell=True,cwd='../../') print 'Removing obsolete packages and package directory' subprocess.call('rm -fr qmean-*',shell=True,cwd='../../') print 'Creating new package directory'