Changeset 14153
- Timestamp:
- 04/24/12 17:27:43 (12 years ago)
- Location:
- trunk/sara_cmt
- Files:
-
- 1 added
- 5 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/sara_cmt/MANIFEST.in
r14151 r14153 1 #include AUTHORS 2 ##include cmt.py 1 include AUTHORS CHANGES README 2 include bin/cmt 3 3 recursive-include etc * 4 #include config/cmt.conf5 include sara_cmt/logging.conf6 4 #include sara_cmt/apache/django.wsgi 7 5 recursive-include templates/examples header *.cmt 8 #exclude sara_cmt/settings_db.py 6 #exclude sara_cmt/settings_db.py # only comment out during testing -
trunk/sara_cmt/bin/cmt
r14152 r14153 79 79 80 80 # Instantiate ConfigParser 81 configfile = os.path.join(settings.PROJECT_BASE, '/etc/cmt/cmt.conf') 81 #TODO: make this dynamic 82 configfile = '/etc/cmt/cmt.conf' 82 83 config_parser = ConfigParser.ConfigParser() 83 84 config_parser.optionxform = lambda x: x -
trunk/sara_cmt/sara_cmt/logger.py
r11798 r14153 14 14 # Check for existence of a global logging object, otherwise make one 15 15 if 'logger' not in __shared_state.keys(): 16 logging.config.fileConfig(17 os.path.join(os.path.dirname(__file__), 'logging.conf'))16 #TODO: make this dynamic 17 logging.config.fileConfig('/etc/cmt/logging.conf') 18 18 __shared_state['logger'] = logging.getLogger('cli') 19 19 -
trunk/sara_cmt/sara_cmt/settings.py
r14144 r14153 6 6 # 7 7 # http://docs.djangoproject.com/en/dev/ref/settings/ 8 9 SARACMT_BASE = os.path.normpath(os.path.dirname(__file__))10 PROJECT_BASE = os.path.normpath(os.path.join(SARACMT_BASE, os.path.pardir))11 8 12 9 # Only set CLIENT_ONLY to False on the central CMT-server -
trunk/sara_cmt/setup.py
r14152 r14153 46 46 # 47 47 # py_modules = ['mod1', 'pkg.mod2'], 48 py_modules = ['bin.cmt'],48 #py_modules = ['bin.cmt'], 49 49 50 50 # http://docs.python.org/distutils/setupscript.html#relationships-between-distributions-and-packages … … 90 90 # NOTE: wildcards aren't accepted here 91 91 data_files = [ 92 ('/etc/cmt/', ['etc/cmt.conf']), 92 ('/etc/cmt/', [ 93 'etc/cmt.conf', 94 'etc/logging.conf' 95 ]), 93 96 ('/etc/cmt/templates', [ 94 97 'templates/examples/base_allnodes.cmt', … … 99 102 'templates/examples/lisa_allnodes.cmt' 100 103 ]), 101 ('/usr/local/bin/', ['bin/cmt .py']),104 ('/usr/local/bin/', ['bin/cmt']), 102 105 ] 103 106 )
Note: See TracChangeset
for help on using the changeset viewer.