1# All our code in this modules assumes that an environment variable SMC exists 2# and that the directory is points to also exists. We make it ~/.smc by default. 3 4from __future__ import absolute_import 5 6import os 7if not 'SMC' in os.environ: 8 os.environ['SMC'] = os.path.join(os.environ['HOME'], '.smc') 9 10if not os.path.exists(os.environ['SMC']): 11 os.makedirs(os.environ['SMC']) 12