Skip to content

Commit

Permalink
Compiled code for Mac OSX
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael A. Cianfrocco committed Apr 27, 2017
1 parent 8cb885f commit f42a354
Show file tree
Hide file tree
Showing 10 changed files with 4 additions and 2,549 deletions.
Binary file modified aws_build_osx/kill_instance.py
Binary file not shown.
Binary file modified aws_build_osx/launch_AWS_S3Movie_Alignment.py
Binary file not shown.
Binary file modified aws_build_osx/launch_AWS_instance.py
Binary file not shown.
Binary file modified aws_build_osx/qsub_aws
Binary file not shown.
6 changes: 4 additions & 2 deletions compile_repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import subprocess

notincluded=['aws_init.sh','rclone','rclone_mac','aws_init.sh','s3tmpout.txt']
outdirname='aws_build_linux' #Choices: aws_build_linux, aws_build_osx
outdirname='aws_build_osx' #Choices: aws_build_linux, aws_build_osx
filelist=glob.glob('aws/*')

for f in filelist:
Expand Down Expand Up @@ -41,6 +41,8 @@
if outdirname == 'aws_build_linux':
cmd='mv dist/install_cloud_tools install_cloud_tools/install_cloud_tools_Linux'
subprocess.Popen(cmd,shell=True).wait()

if outdirname == 'aws_build_osx':
cmd='mv dist/install_cloud_tools install_cloud_tools/install_cloud_tools_macOSX'
subprocess.Popen(cmd,shell=True).wait()
shutil.rmtree('dist')
shutil.rmtree('build')
10 changes: 0 additions & 10 deletions install_cloud_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,7 @@
print '\nBy default, the program will install the software into %s/CloudSoftwareTools.' %(homepath)
print '\nTo specify an alternative installation path, specify --prefix {new install path}'
print '\nThis program will check if the following programs are installed and then install any missing packages:'
print '\t* relion2.0'
print '\t* openmpi'
print '\t* cryoem-cloud-tools'
print '\t* fabric'
print '\t* awscli'
print '\nIf you only want to install cryoem-cloud-tools (not relion, openmpi, etc.), include the option --cloudToolsOnly\n'
sys.exit()

if sys.argv[1] != '-h':
Expand All @@ -32,12 +27,7 @@
print '\nBy default, the program will install the software into %s/CloudSoftwareTools.' %(homepath)
print '\nTo specify an alternative installation path, specify --prefix {new install path}'
print '\nThis program will check if the following programs are installed and then install any missing packages:'
print '\t* relion2.0'
print '\t* openmpi'
print '\t* cryoem-cloud-tools'
print '\t* fabric'
print '\t* awscli'
print '\nIf you only want to install cryoem-cloud-tools (not relion, openmpi, etc.), include the option --cloudToolsOnly\n'
sys.exit()

if sys.argv[1] == '--cloudToolsOnly':
Expand Down
Binary file added install_cloud_tools/install_cloud_tools_macOSX
Binary file not shown.
4 changes: 0 additions & 4 deletions s3.log

This file was deleted.

52 changes: 0 additions & 52 deletions s3b.log

This file was deleted.

0 comments on commit f42a354

Please sign in to comment.