Experimental/alpha/in-development/incomplete object store plugin for iRODS. This plugin will probably set your iRODS instance on fire: do not use except in development/testing.

This commit is contained in:
Nate Coraor
2013-08-28 16:20:19 -04:00
parent 2432ec88d4
commit 126c02eb71
6 changed files with 375 additions and 1 deletions
+33
View File
@@ -0,0 +1,33 @@
import os, sys
import subprocess
# change back to the build dir
if os.path.dirname( sys.argv[0] ) != "":
os.chdir( os.path.dirname( sys.argv[0] ) )
# find setuptools
sys.path.append( os.path.join( '..', '..', '..', 'lib' ) )
from scramble_lib import *
tag = get_tag() # get the tag
get_deps() # require any dependent eggs
clean() # clean up any existing stuff (could happen if you run scramble.py by hand)
subprocess.check_call( "./scripts/configure", shell=True )
subprocess.check_call( "CFLAGS='-fPIC' make clients", shell=True )
# reset args for distutils
me = sys.argv[0]
sys.argv = [ me ]
sys.argv.append( "egg_info" )
if tag is not None:
sys.argv.append( "--tag-build=%s" %tag )
# svn revision (if any) is handled directly in tag-build
sys.argv.append( "--no-svn-revision" )
sys.argv.append( "bdist_egg" )
# apply patches (if any)
apply_patches()
# do it
execfile( "setup.py", globals(), locals() )