Changeset 8511
- Timestamp:
- 10/08/12 19:49:19 (8 years ago)
- Location:
- mauRepo/HPFos/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
mauRepo/HPFos/trunk/hpfos/HPFos/osImpl/myimpl.py
r8509 r8511 51 51 from ea_model.ceda_metadatamodel.ceda_result.ceda_result import CEDA_Result 52 52 from ceda_markup.opensearch.os_param import OSParam 53 from hpfos import __version__ 53 from hpfos import __version__, __revision__ 54 54 55 55 GUID = 'guid' … … 60 60 DUMMY_GUID = 'dummy_guid' 61 61 62 HPFos_TITLE = 'Discovery feed for Search Services (v. %s)' % (__version__) 62 HPFos_VERSION = __version__ 63 HPFos_REVISION = __revision__ 64 CEDA_TITLE = 'ceda_title' 65 66 HPFos_ID = '' 67 if HPFos_REVISION != 'REVISION': 68 HPFos_ID = '(v. %s rev. %s)' % (HPFos_VERSION, HPFos_REVISION) 69 else: 70 HPFos_ID = '(v. %s rev. %s)' % (HPFos_VERSION, 'unknown') 71 72 HPFos_TITLE = 'Discovery feed for Search Services %s' % (HPFos_ID) 63 73 64 74 … … 182 192 if hasattr(cedaObj, 'identifier'): 183 193 for ident in cedaObj.identifier: 184 if ident.authority.title == HPFos_TITLE:194 if ident.authority.title == CEDA_TITLE: 185 195 return ident.code 186 196 -
mauRepo/HPFos/trunk/hpfos/HPFos/settings.py
r8508 r8511 1 1 # Django settings for HPFos project. 2 2 import os 3 from osImpl.hpfos_conf import setUp3 from hpfos.HPFos.osImpl.hpfos_conf import setUp 4 4 5 5 def decodeRelativePath(relPath): … … 111 111 ) 112 112 113 ROOT_URLCONF = ' HPFos.urls'113 ROOT_URLCONF = 'hpfos.HPFos.urls' 114 114 115 115 # Python dotted path to the WSGI application used by Django's runserver. 116 WSGI_APPLICATION = ' HPFos.wsgi.application'116 WSGI_APPLICATION = 'hpfos.HPFos.wsgi.application' 117 117 118 118 TEMPLATE_DIRS = ( -
mauRepo/HPFos/trunk/hpfos/__init__.py
r8509 r8511 1 1 __version__ = '1.0.0-SNAPSHOT' 2 __revision__ = 'REVISION' -
mauRepo/HPFos/trunk/resources/wsgi.py
r8348 r8511 26 26 # Add each new site-packages directory. 27 27 for directory in ALLDIRS: 28 site.addsitedir(directory)28 site.addsitedir(directory) 29 29 30 30 # Reorder sys.path so new directories at the front.
Note: See TracChangeset
for help on using the changeset viewer.